| Index: src/IceInstARM32.h
|
| diff --git a/src/IceInstARM32.h b/src/IceInstARM32.h
|
| index 2ec1356ca56feb1c6c010463b8fc365026559c6a..8167ed45c60fdf3b3a9623c49dd0bcac00ed73a7 100644
|
| --- a/src/IceInstARM32.h
|
| +++ b/src/IceInstARM32.h
|
| @@ -52,7 +52,7 @@ public:
|
|
|
| using Operand::dump;
|
| void dump(const Cfg *, Ostream &Str) const override {
|
| - if (ALLOW_DUMP)
|
| + if (BuildDefs::dump())
|
| Str << "<OperandARM32>";
|
| }
|
|
|
| @@ -347,7 +347,7 @@ public:
|
| InstARM32UnaryopGPR(Func, Dest, Src, Predicate);
|
| }
|
| void emit(const Cfg *Func) const override {
|
| - if (!ALLOW_DUMP)
|
| + if (!BuildDefs::dump())
|
| return;
|
| emitUnaryopGPR(Opcode, this, Func);
|
| }
|
| @@ -356,7 +356,7 @@ public:
|
| llvm_unreachable("Not yet implemented");
|
| }
|
| void dump(const Cfg *Func) const override {
|
| - if (!ALLOW_DUMP)
|
| + if (!BuildDefs::dump())
|
| return;
|
| Ostream &Str = Func->getContext()->getStrDump();
|
| dumpDest(Func);
|
| @@ -392,7 +392,7 @@ public:
|
| InstARM32TwoAddrGPR(Func, Dest, Src, Predicate);
|
| }
|
| void emit(const Cfg *Func) const override {
|
| - if (!ALLOW_DUMP)
|
| + if (!BuildDefs::dump())
|
| return;
|
| emitTwoAddr(Opcode, this, Func);
|
| }
|
| @@ -401,7 +401,7 @@ public:
|
| llvm::report_fatal_error("Not yet implemented");
|
| }
|
| void dump(const Cfg *Func) const override {
|
| - if (!ALLOW_DUMP)
|
| + if (!BuildDefs::dump())
|
| return;
|
| Ostream &Str = Func->getContext()->getStrDump();
|
| dumpDest(Func);
|
| @@ -444,7 +444,7 @@ public:
|
| void emit(const Cfg *Func) const override;
|
| void emitIAS(const Cfg *Func) const override;
|
| void dump(const Cfg *Func) const override {
|
| - if (!ALLOW_DUMP)
|
| + if (!BuildDefs::dump())
|
| return;
|
| Ostream &Str = Func->getContext()->getStrDump();
|
| dumpOpcodePred(Str, Opcode, getDest()->getType());
|
| @@ -484,7 +484,7 @@ public:
|
| InstARM32ThreeAddrGPR(Func, Dest, Src1, Src2, Predicate, SetFlags);
|
| }
|
| void emit(const Cfg *Func) const override {
|
| - if (!ALLOW_DUMP)
|
| + if (!BuildDefs::dump())
|
| return;
|
| emitThreeAddr(Opcode, this, Func, SetFlags);
|
| }
|
| @@ -493,7 +493,7 @@ public:
|
| llvm::report_fatal_error("Not yet implemented");
|
| }
|
| void dump(const Cfg *Func) const override {
|
| - if (!ALLOW_DUMP)
|
| + if (!BuildDefs::dump())
|
| return;
|
| Ostream &Str = Func->getContext()->getStrDump();
|
| dumpDest(Func);
|
|
|