mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Put Is64BitMemOperand into !defined(NDEBUG) for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153185 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
47817f30f2
commit
d9e85ef08b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user