[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Oct 20 10:16:07 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
SparcV9CodeEmitter.cpp updated: 1.36 -> 1.37
---
Log message:
Make replaceMachineCodeForFunction return void.
---
Diffs of the changes: (+1 -2)
Index: llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp
diff -u llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.36 llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.37
--- llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp:1.36 Fri Oct 17 13:27:37 2003
+++ llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp Mon Oct 20 10:15:16 2003
@@ -562,12 +562,11 @@
}
}
-bool UltraSparc::replaceMachineCodeForFunction (void *Old, void *New) {
+void UltraSparc::replaceMachineCodeForFunction (void *Old, void *New) {
if (!TheJITResolver) return true; // fail if not in JIT.
uint64_t Target = (uint64_t)(intptr_t)New;
uint64_t CodeBegin = (uint64_t)(intptr_t)Old;
TheJITResolver->insertJumpAtAddr(Target, CodeBegin);
- return false;
}
int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI,
More information about the llvm-commits
mailing list