[llvm-commits] [vmkit] r50347 - /vmkit/trunk/lib/JnJVM/VMCore/JavaJITOpcodes.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Apr 28 02:03:04 PDT 2008
Author: geoffray
Date: Mon Apr 28 04:03:03 2008
New Revision: 50347
URL: http://llvm.org/viewvc/llvm-project?rev=50347&view=rev
Log:
Classes meta-globalvariable can be emitted even if they are not ready (ie clinited).
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaJITOpcodes.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaJITOpcodes.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaJITOpcodes.cpp?rev=50347&r1=50346&r2=50347&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaJITOpcodes.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaJITOpcodes.cpp Mon Apr 28 04:03:03 2008
@@ -1842,7 +1842,7 @@
BranchInst::Create(ifTrue, ifFalse, cmp, currentBlock);
currentBlock = ifFalse;
Value* clVar = 0;
- if (dcl && dcl->isReady()) {
+ if (dcl) {
clVar = new LoadInst(dcl->llvmVar(compilingClass->isolate->module), "", ifFalse);
} else {
clVar = getResolvedClass(index, false);
@@ -1879,7 +1879,7 @@
compilingClass->ctpInfo->getMethodClassIfLoaded(index);
Value* clVar = 0;
- if (dcl && dcl->isReady()) {
+ if (dcl) {
clVar = new LoadInst(dcl->llvmVar(compilingClass->isolate->module), "", currentBlock);
} else {
clVar = getResolvedClass(index, false);
More information about the llvm-commits
mailing list