From 2013458b8e0332f3828f9ecbcba7e2bc590bd0e4 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 30 May 2016 02:21:09 +0800 Subject: [PATCH] fix a bug in introduced by the last commit --- llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp index 2309c8a..5b7dcab 100644 --- a/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp +++ b/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp @@ -240,7 +240,6 @@ 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); @@ -252,7 +251,6 @@ static bool Is64BitMemOperand(const MCInst &MI, unsigned Op) { return true; return false; } -#endif /// StartsWithGlobalOffsetTable - Check if this expression starts with /// _GLOBAL_OFFSET_TABLE_ and if it is of the form