mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
s/convertable/convertible/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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,
|
||||
|
@@ -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...
|
||||
}
|
||||
|
Reference in New Issue
Block a user