[llvm-commits] llvm-gcc patch to support isIntegral rename

Chris Lattner clattner at apple.com
Sun Jan 14 18:21:13 PST 2007


Index: llvm-convert.cpp
===================================================================
--- llvm-convert.cpp    (revision 122440)
+++ llvm-convert.cpp    (working copy)
@@ -221,7 +221,7 @@
            // If this is just a mismatch between integer types, this  
is due
            // to K&R prototypes, where the forward proto defines the  
arg as int
            // and the actual impls is a short or char.
-          assert(ArgVal->getType() == Type::Int32Ty && LLVMTy- 
 >isIntegral() &&
+          assert(ArgVal->getType() == Type::Int32Ty && LLVMTy- 
 >isInteger() &&
                   "Lowerings don't match?");
            ArgVal = new TruncInst(ArgVal, LLVMTy, NameStack.back(),  
CurBB);
          }




More information about the llvm-commits mailing list