diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2009-12-15 22:42:46 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2009-12-15 22:42:46 +0000 |
commit | 32d7e6ebde29faeea75ecb718b4281414b0eea0b (patch) | |
tree | e028decfe52b4e0740391a657d01b1bef54c2492 /lib/Target/Alpha/AlphaJITInfo.cpp | |
parent | 6be413dd64c359f03b91321defceef9d641f1235 (diff) | |
download | external_llvm-32d7e6ebde29faeea75ecb718b4281414b0eea0b.zip external_llvm-32d7e6ebde29faeea75ecb718b4281414b0eea0b.tar.gz external_llvm-32d7e6ebde29faeea75ecb718b4281414b0eea0b.tar.bz2 |
Change indirect-globals to use a dedicated allocIndirectGV. This lets us
remove start/finishGVStub and the BufferState helper class from the
MachineCodeEmitter interface. It has the side-effect of not setting the
indirect global writable and then executable on ARM, but that shouldn't be
necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaJITInfo.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaJITInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaJITInfo.cpp b/lib/Target/Alpha/AlphaJITInfo.cpp index b3b711e..cb8eb51 100644 --- a/lib/Target/Alpha/AlphaJITInfo.cpp +++ b/lib/Target/Alpha/AlphaJITInfo.cpp @@ -202,7 +202,6 @@ TargetJITInfo::StubLayout AlphaJITInfo::getStubLayout() { void *AlphaJITInfo::emitFunctionStub(const Function* F, void *Fn, JITCodeEmitter &JCE) { - MachineCodeEmitter::BufferState BS; //assert(Fn == AlphaCompilationCallback && "Where are you going?\n"); //Do things in a stupid slow way! void* Addr = (void*)(intptr_t)JCE.getCurrentPCValue(); |