Comments and indentation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59007 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2008-11-10 23:26:16 +00:00
parent 588920b9a5
commit e4d783d584

View File

@ -196,7 +196,7 @@ void *JITResolver::getGlobalValueIndirectSym(GlobalValue *GV, void *GVAddress) {
void *&IndirectSym = state.getGlobalToIndirectSymMap(locked)[GV]; void *&IndirectSym = state.getGlobalToIndirectSymMap(locked)[GV];
if (IndirectSym) return IndirectSym; if (IndirectSym) return IndirectSym;
// Otherwise, codegen a new lazy pointer. // Otherwise, codegen a new indirect symbol.
IndirectSym = TheJIT->getJITInfo().emitGlobalValueIndirectSym(GV, GVAddress, IndirectSym = TheJIT->getJITInfo().emitGlobalValueIndirectSym(GV, GVAddress,
*TheJIT->getCodeEmitter()); *TheJIT->getCodeEmitter());
@ -619,7 +619,7 @@ void *JITEmitter::getPointerToGlobal(GlobalValue *V, void *Reference,
} }
void *JITEmitter::getPointerToGVIndirectSym(GlobalValue *V, void *Reference, void *JITEmitter::getPointerToGVIndirectSym(GlobalValue *V, void *Reference,
bool DoesntNeedStub) { bool NoNeedStub) {
// Make sure GV is emitted first. // Make sure GV is emitted first.
// FIXME: For now, if the GV is an external function we force the JIT to // 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. // compile it so the indirect symbol will contain the fully resolved address.