diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-07-30 18:33:25 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-07-30 18:33:25 +0000 |
commit | d29b6aa608d69f19b57ebd2ae630b040b1c4951d (patch) | |
tree | 36d1f518b7ca632c76e2916ad4108674b126e2fa /lib/ExecutionEngine | |
parent | cfb1d4235fe3291028341e6acf4139723b4749e3 (diff) | |
download | external_llvm-d29b6aa608d69f19b57ebd2ae630b040b1c4951d.zip external_llvm-d29b6aa608d69f19b57ebd2ae630b040b1c4951d.tar.gz external_llvm-d29b6aa608d69f19b57ebd2ae630b040b1c4951d.tar.bz2 |
Keep tabs and trailing spaces out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index d82e545..88a8be4 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -65,7 +65,7 @@ namespace { inline unsigned char *allocateStub(unsigned StubSize); inline unsigned char *allocateConstant(unsigned ConstantSize, unsigned Alignment); - inline unsigned char* allocateGlobal(unsigned Size, + inline unsigned char* allocateGlobal(unsigned Size, unsigned Alignment); inline unsigned char *startFunctionBody(); inline void endFunctionBody(unsigned char *FunctionEnd); @@ -373,8 +373,8 @@ void *JITResolver::JITCompilerFn(void *Stub) { // FIXME: We could rewrite all references to this stub if we knew them. - // What we will do is set the compiled function address to map to the - // same GOT entry as the stub so that later clients may update the GOT + // What we will do is set the compiled function address to map to the + // same GOT entry as the stub so that later clients may update the GOT // if they see it still using the stub address. // Note: this is done so the Resolver doesn't have to manage GOT memory // Do this without allocating map space if the target isn't using a GOT @@ -548,7 +548,7 @@ void JITEmitter::finishFunction(MachineFunction &F) { if(MemMgr.isManagingGOT()) { unsigned idx = getJITResolver(this).getGOTIndexForAddr((void*)CurBlock); if (((void**)MemMgr.getGOTBase())[idx] != (void*)CurBlock) { - DEBUG(std::cerr << "GOT was out of date for " << (void*)CurBlock + DEBUG(std::cerr << "GOT was out of date for " << (void*)CurBlock << " pointing at " << ((void**)MemMgr.getGOTBase())[idx] << "\n"); ((void**)MemMgr.getGOTBase())[idx] = (void*)CurBlock; } |