Several related changes:
authorChris Lattner <sabre@nondot.org>
Tue, 2 May 2006 23:22:24 +0000 (23:22 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 May 2006 23:22:24 +0000 (23:22 +0000)
commitf75f9be3fb89eb6661a0ed8bfee8a6328ee5a4d1
tree763c4953dc25b80928238b6ce38e918a2c4366c8
parent1f4549f35c69376a07360bd57ff06ed8f636d153
Several related changes:

1. Change several methods in the MachineCodeEmitter class to be pure virtual.
2. Suck emitConstantPool/initJumpTableInfo into startFunction, removing them
   from the MachineCodeEmitter interface, and reducing the amount of target-
   specific code.
3. Change the JITEmitter so that it allocates constantpools and jump tables
   *right* next to the functions that they belong to, instead of in a separate
   pool of memory.  This makes all memory for a function be contiguous, and
   means the JITEmitter only tracks one block of memory now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28065 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineCodeEmitter.h
lib/CodeGen/ELFWriter.cpp
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Target/Alpha/AlphaCodeEmitter.cpp
lib/Target/PowerPC/PPCCodeEmitter.cpp
lib/Target/X86/X86CodeEmitter.cpp