[BOLT] Fix no-asserts build

Summary: Only use dump() method under DEBUG() macro.

(cherry picked from FBD24666481)
This commit is contained in:
Rafael Auler
2020-10-30 19:59:07 -07:00
committed by Maksim Panchenko
parent 6b185cccf4
commit eb12d719ac

View File

@@ -2152,7 +2152,7 @@ public:
Inst.insert(Inst.begin(), MCOperand::createReg(Reg));
return;
}
Inst.dump();
DEBUG(Inst.dump());
llvm_unreachable("not implemented");
}