diff options
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/DataStructure/DataStructure.cpp | 4 | ||||
-rw-r--r-- | lib/Analysis/Expressions.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index 1aad8cf69e..4f774acb0a 100644 --- a/lib/Analysis/DataStructure/DataStructure.cpp +++ b/lib/Analysis/DataStructure/DataStructure.cpp @@ -336,8 +336,8 @@ bool DSNode::mergeTypeInfo(const Type *NewTy, unsigned Offset, // Check to see if we have a compatible, but different type... if (NewTySize == SubTypeSize) { - // Check to see if this type is obviously convertable... int -> uint f.e. - if (NewTy->isLosslesslyConvertableTo(SubType)) + // Check to see if this type is obviously convertible... int -> uint f.e. + if (NewTy->isLosslesslyConvertibleTo(SubType)) return false; // Check to see if we have a pointer & integer mismatch going on here, diff --git a/lib/Analysis/Expressions.cpp b/lib/Analysis/Expressions.cpp index bfab20c42c..513efe0ac2 100644 --- a/lib/Analysis/Expressions.cpp +++ b/lib/Analysis/Expressions.cpp @@ -318,7 +318,7 @@ ExprType ClassifyExpression(Value *Expr) { DestTy = Type::ULongTy; // Pointer types are represented as ulong /* - if (!Src.getExprType(0)->isLosslesslyConvertableTo(DestTy)) { + if (!Src.getExprType(0)->isLosslesslyConvertibleTo(DestTy)) { if (Src.ExprTy != ExprType::Constant) return I; // Converting cast, and not a constant value... } |