summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-10-29 12:12:16 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-10-29 12:12:28 +0000
commitec82eb2d024a3535bc9fa1dbe36764be017381b1 (patch)
tree6877f799cc724c896eecaf165c1f15185df324e2 /llvm/lib/CodeGen/MachineInstr.cpp
parent80b0cdde0ffc4ca59e99fed3dcb18412ff97568c (diff)
downloadbcm5719-llvm-ec82eb2d024a3535bc9fa1dbe36764be017381b1.tar.gz
bcm5719-llvm-ec82eb2d024a3535bc9fa1dbe36764be017381b1.zip
Fix unused variable warning. NFCI.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index e643bcfd390..397c1239d85 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1701,7 +1701,7 @@ void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST,
OS << " post-instr-symbol ";
MachineOperand::printSymbol(OS, *PostInstrSymbol);
}
- if (MDNode *HeapAllocMarker = getHeapAllocMarker()) {
+ if (/*MDNode *HeapAllocMarker =*/getHeapAllocMarker()) {
if (!FirstOp) {
FirstOp = false;
OS << ',';
OpenPOWER on IntegriCloud