[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 12 13:42:22 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCTargetMachine.cpp updated: 1.96 -> 1.97
---
Log message:
An overaggressive #ifdef allows a function to fall off the bottom of the
function instead of returning a value. This sometimes allowed the ppc32 jit
to be used in 64-bit mode.
---
Diffs of the changes: (+1 -2)
PPCTargetMachine.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.96 llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.97
--- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.96 Thu Jul 6 12:10:42 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp Wed Jul 12 15:42:10 2006
@@ -39,9 +39,8 @@
#if defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)
if (sizeof(void*) == 4)
return 10;
-#else
- return 0;
#endif
+ return 0;
}
unsigned PPC64TargetMachine::getJITMatchQuality() {
#if defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)
More information about the llvm-commits
mailing list