diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-11-08 04:47:06 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-11-08 04:47:06 +0000 |
commit | c53037205b9f48dec853d992c58e57c73bf33385 (patch) | |
tree | 12eb4cda115d1dd0704fa9200d56c1bdb12d87e4 /llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | |
parent | 07900bde2dba8f7727866de63d70971da4807ee2 (diff) | |
download | bcm5719-llvm-c53037205b9f48dec853d992c58e57c73bf33385.tar.gz bcm5719-llvm-c53037205b9f48dec853d992c58e57c73bf33385.zip |
Major overhaul of stack frame management.
llvm-svn: 1185
Diffstat (limited to 'llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp')
-rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index 88fd4a41386..0a6d7d331d3 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp @@ -337,7 +337,7 @@ FixConstantOperandsForInstr(Instruction* vmInstr, if (constantThatMustBeLoaded) { // register the value so it is emitted in the assembly - method->getMachineCode().addToConstantPool( + MachineCodeForMethod::get(method).addToConstantPool( cast<ConstPoolVal>(opValue)); } } @@ -372,7 +372,7 @@ FixConstantOperandsForInstr(Instruction* vmInstr, if (isa<ConstPoolVal>(oldVal)) { // register the value so it is emitted in the assembly - method->getMachineCode().addToConstantPool( + MachineCodeForMethod::get(method).addToConstantPool( cast<ConstPoolVal>(oldVal)); } } |