Index: src/IceGlobalInits.h |
diff --git a/src/IceGlobalInits.h b/src/IceGlobalInits.h |
index cd66500362742f4fdc96b56026aec7a5ae3d8c13..387c0e3399886cdbeae61fc63e142bdfba976d71 100644 |
--- a/src/IceGlobalInits.h |
+++ b/src/IceGlobalInits.h |
@@ -66,7 +66,7 @@ public: |
/// Prints out the global declaration. |
virtual void dump(GlobalContext *Ctx, Ostream &Stream) const = 0; |
void dump(Ostream &Stream) const { |
- if (!ALLOW_DUMP) |
+ if (!BuildDefs::dump()) |
return; |
GlobalContext *const Ctx = nullptr; |
dump(Ctx, Stream); |
@@ -153,7 +153,7 @@ public: |
virtual SizeT getNumBytes() const = 0; |
virtual void dump(GlobalContext *Ctx, Ostream &Stream) const = 0; |
void dump(Ostream &Stream) const { |
- if (ALLOW_DUMP) |
+ if (BuildDefs::dump()) |
dump(nullptr, Stream); |
} |
virtual void dumpType(Ostream &Stream) const; |