[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp 
    Chris Lattner 
    lattner at cs.uiuc.edu
       
    Tue May  2 16:22:41 PDT 2006
    
    
  
Changes in directory llvm/lib/Target/Alpha:
AlphaCodeEmitter.cpp updated: 1.11 -> 1.12
---
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 -1)
 AlphaCodeEmitter.cpp |    1 -
 1 files changed, 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
diff -u llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.11 llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.12
--- llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:1.11	Tue May  2 14:14:47 2006
+++ llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp	Tue May  2 18:22:24 2006
@@ -81,7 +81,6 @@
     BasicBlockAddrs.clear();
     
     MCE.startFunction(MF);
-    MCE.emitConstantPool(MF.getConstantPool());
     for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I)
       emitBasicBlock(*I);
   } while (MCE.finishFunction(MF));
    
    
More information about the llvm-commits
mailing list