Change indirect-globals to use a dedicated allocIndirectGV. This lets us
authorJeffrey Yasskin <jyasskin@google.com>
Tue, 15 Dec 2009 22:42:46 +0000 (22:42 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Tue, 15 Dec 2009 22:42:46 +0000 (22:42 +0000)
commit32d7e6ebde29faeea75ecb718b4281414b0eea0b
treee028decfe52b4e0740391a657d01b1bef54c2492
parent6be413dd64c359f03b91321defceef9d641f1235
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
include/llvm/CodeGen/JITCodeEmitter.h
include/llvm/CodeGen/MachineCodeEmitter.h
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Target/ARM/ARMJITInfo.cpp
lib/Target/Alpha/AlphaJITInfo.cpp
lib/Target/PowerPC/PPCJITInfo.cpp
lib/Target/X86/X86JITInfo.cpp