Index: src/IceTargetLowering.cpp |
diff --git a/src/IceTargetLowering.cpp b/src/IceTargetLowering.cpp |
index 7c93463ab96ac6c6e13609e627b45ac4c7dcec58..990bba836d8a7e225bc1a778c89c11014e9704c2 100644 |
--- a/src/IceTargetLowering.cpp |
+++ b/src/IceTargetLowering.cpp |
@@ -411,7 +411,7 @@ InstCall *TargetLowering::makeHelperCall(const IceString &Name, Variable *Dest, |
} |
void TargetLowering::emitWithoutPrefix(const ConstantRelocatable *C) const { |
- if (!ALLOW_DUMP) |
+ if (!buildAllowsDump()) |
return; |
Ostream &Str = Ctx->getStrEmit(); |
if (C->getSuppressMangling()) |
@@ -427,7 +427,7 @@ void TargetLowering::emitWithoutPrefix(const ConstantRelocatable *C) const { |
} |
void TargetLowering::emit(const ConstantRelocatable *C) const { |
- if (!ALLOW_DUMP) |
+ if (!buildAllowsDump()) |
return; |
Ostream &Str = Ctx->getStrEmit(); |
Str << getConstantPrefix(); |
@@ -472,7 +472,7 @@ IceString dataSectionSuffix(const IceString &SectionSuffix, |
void TargetDataLowering::emitGlobal(const VariableDeclaration &Var, |
const IceString &SectionSuffix) { |
- if (!ALLOW_DUMP) |
+ if (!buildAllowsDump()) |
return; |
// If external and not initialized, this must be a cross test. |