[llvm-commits] [llvm] r59007 - /llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Mon Nov 10 15:26:17 PST 2008
Author: evancheng
Date: Mon Nov 10 17:26:16 2008
New Revision: 59007
URL: http://llvm.org/viewvc/llvm-project?rev=59007&view=rev
Log:
Comments and indentation.
Modified:
llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
Modified: llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp?rev=59007&r1=59006&r2=59007&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp Mon Nov 10 17:26:16 2008
@@ -196,7 +196,7 @@
void *&IndirectSym = state.getGlobalToIndirectSymMap(locked)[GV];
if (IndirectSym) return IndirectSym;
- // Otherwise, codegen a new lazy pointer.
+ // Otherwise, codegen a new indirect symbol.
IndirectSym = TheJIT->getJITInfo().emitGlobalValueIndirectSym(GV, GVAddress,
*TheJIT->getCodeEmitter());
@@ -576,7 +576,7 @@
private:
void *getPointerToGlobal(GlobalValue *GV, void *Reference, bool NoNeedStub);
void *getPointerToGVIndirectSym(GlobalValue *V, void *Reference,
- bool NoNeedStub);
+ bool NoNeedStub);
unsigned addSizeOfGlobal(const GlobalVariable *GV, unsigned Size);
unsigned addSizeOfGlobalsInConstantVal(const Constant *C, unsigned Size);
unsigned addSizeOfGlobalsInInitializer(const Constant *Init, unsigned Size);
@@ -619,7 +619,7 @@
}
void *JITEmitter::getPointerToGVIndirectSym(GlobalValue *V, void *Reference,
- bool DoesntNeedStub) {
+ bool NoNeedStub) {
// Make sure GV is emitted first.
// FIXME: For now, if the GV is an external function we force the JIT to
// compile it so the indirect symbol will contain the fully resolved address.
More information about the llvm-commits
mailing list