diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-11-10 23:26:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-11-10 23:26:16 +0000 |
commit | b172c66af3635b5a376695cce4a12f7654268b5f (patch) | |
tree | fa723809197d52eb5d2f8c4426f899a2a2df0230 /llvm/lib | |
parent | 02771dc473e1a87ce2ab0591631e94b72781cec3 (diff) | |
download | bcm5719-llvm-b172c66af3635b5a376695cce4a12f7654268b5f.tar.gz bcm5719-llvm-b172c66af3635b5a376695cce4a12f7654268b5f.zip |
Comments and indentation.
llvm-svn: 59007
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp index 221d9a5c8ec..d7348dd30fe 100644 --- a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -196,7 +196,7 @@ void *JITResolver::getGlobalValueIndirectSym(GlobalValue *GV, void *GVAddress) { 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 @@ namespace { 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::getPointerToGlobal(GlobalValue *V, void *Reference, } 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. |