[llvm-commits] [dragonegg] r156537 - /dragonegg/trunk/src/Convert.cpp

Duncan Sands baldrick at free.fr
Thu May 10 01:33:39 PDT 2012


Author: baldrick
Date: Thu May 10 03:33:38 2012
New Revision: 156537

URL: http://llvm.org/viewvc/llvm-project?rev=156537&view=rev
Log:
Add the new argument expected by the object size intrinsic.  This should
fix a few hundred tests in the compilator testsuite.

Modified:
    dragonegg/trunk/src/Convert.cpp

Modified: dragonegg/trunk/src/Convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Convert.cpp?rev=156537&r1=156536&r2=156537&view=diff
==============================================================================
--- dragonegg/trunk/src/Convert.cpp (original)
+++ dragonegg/trunk/src/Convert.cpp Thu May 10 03:33:38 2012
@@ -4281,7 +4281,8 @@
 
     Value* Args[] = {
       EmitMemory(gimple_call_arg(stmt, 0)),
-      NewTy
+      NewTy,
+      Constant::getNullValue(Type::getInt32Ty(Context))
     };
 
     // Grab the current return type.





More information about the llvm-commits mailing list