Changes in directory llvm/lib/Target/X86:
X86CodeEmitter.cpp updated: 1.97 -> 1.98 --- Log message: 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. --- Diffs of the changes: (+0 -2) X86CodeEmitter.cpp | 2 -- 1 files changed, 2 deletions(-) Index: llvm/lib/Target/X86/X86CodeEmitter.cpp diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.97 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.98 --- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.97 Tue May 2 14:14:47 2006 +++ llvm/lib/Target/X86/X86CodeEmitter.cpp Tue May 2 18:22:24 2006 @@ -86,8 +86,6 @@ BasicBlockAddrs.clear(); MCE.startFunction(MF); - MCE.emitConstantPool(MF.getConstantPool()); - MCE.initJumpTableInfo(MF.getJumpTableInfo()); for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I) emitBasicBlock(*I); MCE.emitJumpTableInfo(MF.getJumpTableInfo(), BasicBlockAddrs); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits