[vmkit-commits] [vmkit] r65045 - /vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Thu Feb 19 08:02:49 PST 2009
Author: geoffray
Date: Thu Feb 19 10:02:48 2009
New Revision: 65045
URL: http://llvm.org/viewvc/llvm-project?rev=65045&view=rev
Log:
Fix AOT with the new Task class mirror type.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp?rev=65045&r1=65044&r2=65045&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp Thu Feb 19 10:02:48 2009
@@ -1015,7 +1015,8 @@
assert(TCMTy && "Malformed type");
uint32 status = cl->needsInitialisationCheck() ? vmjc : ready;
- TempElts.push_back(ConstantInt::get(Type::Int32Ty, status));
+ TempElts.push_back(ConstantInt::get(Type::Int8Ty, status));
+ TempElts.push_back(ConstantInt::get(Type::Int1Ty, status == ready ? 1 : 0));
TempElts.push_back(getStaticInstance(cl));
Constant* CStr[1] = { ConstantStruct::get(TCMTy, TempElts) };
TempElts.clear();
More information about the vmkit-commits
mailing list