mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 12:21:04 +00:00
Try to fix unused variable warning on lld-x86_64-darwin13 after r287439.
Whether the variable is used or not depends on NDEBUG. llvm-svn: 287440
This commit is contained in:
parent
811dc2eda3
commit
4f0f4b9233
@ -20,6 +20,7 @@
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
#include "llvm/MC/MCSymbol.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/EndianStream.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace llvm;
|
||||
@ -30,7 +31,7 @@ namespace {
|
||||
class BPFMCCodeEmitter : public MCCodeEmitter {
|
||||
BPFMCCodeEmitter(const BPFMCCodeEmitter &) = delete;
|
||||
void operator=(const BPFMCCodeEmitter &) = delete;
|
||||
const MCInstrInfo &MCII;
|
||||
const MCInstrInfo &MCII LLVM_ATTRIBUTE_UNUSED; // Unused in NDEBUG builds.
|
||||
const MCRegisterInfo &MRI;
|
||||
bool IsLittleEndian;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user