[llvm-commits] [vmkit] r52280 - /vmkit/trunk/lib/JnJVM/VMCore/JavaTypes.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Sat Jun 14 11:15:23 PDT 2008
Author: geoffray
Date: Sat Jun 14 13:15:23 2008
New Revision: 52280
URL: http://llvm.org/viewvc/llvm-project?rev=52280&view=rev
Log:
Set the object size of primitive classes.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaTypes.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaTypes.cpp?rev=52280&r1=52279&r2=52280&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaTypes.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaTypes.cpp Sat Jun 14 13:15:23 2008
@@ -75,6 +75,7 @@
if (bid != I_PARG && bid != I_PARD && bid != I_REF && bid != I_TAB) {
res->classType = new ClassPrimitive(vm, res->UTF8Name);
+ res->classType->virtualSize = nb;
} else {
res->classType = 0;
}
More information about the llvm-commits
mailing list