[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 20 15:53:39 PST 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9CodeEmitter.cpp updated: 1.73 -> 1.74
---
Log message:
Adjust to changed interfaces
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp:1.73 llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp:1.74
--- llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp:1.73 Sat Oct 9 16:13:51 2004
+++ llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp Sat Nov 20 17:53:26 2004
@@ -420,7 +420,7 @@
/// directly.
///
uint64_t JITResolver::emitStubForFunction(Function *F) {
- MCE.startFunctionStub(*F, 44);
+ MCE.startFunctionStub(44);
DEBUG(std::cerr << "Emitting stub at addr: 0x"
<< std::hex << MCE.getCurrentPCValue() << "\n");
@@ -461,7 +461,7 @@
}
SparcV9.emitWord(0xDEADBEEF); // marker so that we know it's really a stub
- return (intptr_t)MCE.finishFunctionStub(*F)+4; /* 1 instr past the restore */
+ return (intptr_t)MCE.finishFunctionStub(F)+4; /* 1 instr past the restore */
}
SparcV9CodeEmitter::SparcV9CodeEmitter(TargetMachine &tm,
More information about the llvm-commits
mailing list