[llvm-commits] [llvm] r63161 - /llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp
Evan Cheng
evan.cheng at apple.com
Tue Jan 27 16:53:34 PST 2009
Author: evancheng
Date: Tue Jan 27 18:53:34 2009
New Revision: 63161
URL: http://llvm.org/viewvc/llvm-project?rev=63161&view=rev
Log:
Suppress a compile time warning.
Modified:
llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp?rev=63161&r1=63160&r2=63161&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp Tue Jan 27 18:53:34 2009
@@ -701,6 +701,7 @@
return OffsetIsInRange(UserOffset, CPEOffset, MaxDisp, !isThumb);
}
+#ifndef NDEBUG
/// BBIsJumpedOver - Return true of the specified basic block's only predecessor
/// unconditionally branches to its only successor.
static bool BBIsJumpedOver(MachineBasicBlock *MBB) {
@@ -714,6 +715,7 @@
return PredMI->getOperand(0).getMBB() == Succ;
return false;
}
+#endif // NDEBUG
void ARMConstantIslands::AdjustBBOffsetsAfter(MachineBasicBlock *BB,
int delta) {
More information about the llvm-commits
mailing list