OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab160cf
)
Suppress a compile time warning.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 28 Jan 2009 00:53:34 +0000
(
00:53
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 28 Jan 2009 00:53:34 +0000
(
00:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63161
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMConstantIslandPass.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMConstantIslandPass.cpp
b/lib/Target/ARM/ARMConstantIslandPass.cpp
index
e544c67
..
5ecb28e
100644
(file)
--- a/
lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/
lib/Target/ARM/ARMConstantIslandPass.cpp
@@
-701,6
+701,7
@@
bool ARMConstantIslands::CPEIsInRange(MachineInstr *MI, unsigned UserOffset,
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
@@
static bool BBIsJumpedOver(MachineBasicBlock *MBB) {
return PredMI->getOperand(0).getMBB() == Succ;
return false;
}
+#endif // NDEBUG
void ARMConstantIslands::AdjustBBOffsetsAfter(MachineBasicBlock *BB,
int delta) {