[llvm-commits] [vmkit] r50345 - /vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Apr 28 02:00:49 PDT 2008
Author: geoffray
Date: Mon Apr 28 04:00:49 2008
New Revision: 50345
URL: http://llvm.org/viewvc/llvm-project?rev=50345&view=rev
Log:
A type in a constant pool is allocated on behalf of the class of the
constant pool.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp?rev=50345&r1=50344&r2=50345&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp Mon Apr 28 04:00:49 2008
@@ -343,7 +343,7 @@
}
sint32 entry = ctpDef[index];
const UTF8* type = UTF8At(entry & 0xFFFF);
- Typedef* sign = JavaThread::get()->isolate->constructType(type);
+ Typedef* sign = classDef->isolate->constructType(type);
ctpRes[index] = sign;
return sign;
}
More information about the llvm-commits
mailing list