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 | e4d783d584d22d7fcb4cba2a24e0f45f62ed8153 (patch) | |
tree | ed2d20a9defb6ed2e27abf732c1193890b9fd09d /lib/ExecutionEngine/JIT | |
parent | 588920b9a5f7004e330e3597872908b4d57e9355 (diff) | |
download | external_llvm-e4d783d584d22d7fcb4cba2a24e0f45f62ed8153.zip external_llvm-e4d783d584d22d7fcb4cba2a24e0f45f62ed8153.tar.gz external_llvm-e4d783d584d22d7fcb4cba2a24e0f45f62ed8153.tar.bz2 |
Comments and indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT')
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 221d9a5..d7348dd 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/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. |