diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-01-28 00:53:34 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-01-28 00:53:34 +0000 |
commit | d1e7d9a88b5f4fa5e9a85affc4599c650c591ffb (patch) | |
tree | 91255a8e07614d36e1a0e46702a45268e8543d83 /lib | |
parent | ab160cf371d6148d49b5401a903dd4ce381b2f8c (diff) | |
download | external_llvm-d1e7d9a88b5f4fa5e9a85affc4599c650c591ffb.zip external_llvm-d1e7d9a88b5f4fa5e9a85affc4599c650c591ffb.tar.gz external_llvm-d1e7d9a88b5f4fa5e9a85affc4599c650c591ffb.tar.bz2 |
Suppress a compile time warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMConstantIslandPass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp index e544c67..5ecb28e 100644 --- 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) { |