Changes in directory llvm/lib/Target/PowerPC:
PPCCodeEmitter.cpp updated: 1.55 -> 1.56 --- 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) PPCCodeEmitter.cpp | 2 -- 1 files changed, 2 deletions(-) Index: llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp diff -u llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.55 llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.56 --- llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.55 Tue May 2 14:14:47 2006 +++ llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp Tue May 2 18:22:24 2006 @@ -90,8 +90,6 @@ BBLocations.clear(); MCE.startFunction(MF); - MCE.emitConstantPool(MF.getConstantPool()); - MCE.initJumpTableInfo(MF.getJumpTableInfo()); for (MachineFunction::iterator BB = MF.begin(), E = MF.end(); BB != E; ++BB) emitBasicBlock(*BB); MCE.emitJumpTableInfo(MF.getJumpTableInfo(), BBLocations); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits