diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2012-03-21 14:09:26 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2012-03-21 14:09:26 +0000 |
commit | d9e85ef08bdd41b285f77af6c95f5ec17b43c80a (patch) | |
tree | df65f666ebe9d281d2522c4c1333f11ba358af09 | |
parent | 47817f30f28118ba278ab11740fa9f0adcfb462d (diff) |
Put Is64BitMemOperand into !defined(NDEBUG) for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153185 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp b/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp index 0d8ee174d5..80990e5822 100644 --- a/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp +++ b/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp @@ -175,6 +175,7 @@ static bool Is32BitMemOperand(const MCInst &MI, unsigned Op) { /// Is64BitMemOperand - Return true if the specified instruction has /// a 64-bit memory operand. Op specifies the operand # of the memoperand. +#ifndef NDEBUG static bool Is64BitMemOperand(const MCInst &MI, unsigned Op) { const MCOperand &BaseReg = MI.getOperand(Op+X86::AddrBaseReg); const MCOperand &IndexReg = MI.getOperand(Op+X86::AddrIndexReg); @@ -186,6 +187,7 @@ static bool Is64BitMemOperand(const MCInst &MI, unsigned Op) { return true; return false; } +#endif /// Is16BitMemOperand - Return true if the specified instruction has /// a 16-bit memory operand. Op specifies the operand # of the memoperand. |