Index: src/IceConverter.cpp |
diff --git a/src/IceConverter.cpp b/src/IceConverter.cpp |
index baa8eeb13384dd0ac5bbb8d1f8ba3a4856c83bfa..afffb9958c85af668821dc1fa8e0354e447b48b2 100644 |
--- a/src/IceConverter.cpp |
+++ b/src/IceConverter.cpp |
@@ -167,7 +167,7 @@ private: |
return nullptr; |
if (VarMap.find(V) == VarMap.end()) { |
VarMap[V] = Func->makeVariable(IceTy); |
- if (ALLOW_DUMP) |
+ if (Ice::BuildDefs::dump()) |
VarMap[V]->setName(Func.get(), V->getName()); |
} |
return VarMap[V]; |
@@ -180,7 +180,7 @@ private: |
Ice::CfgNode *mapBasicBlockToNode(const BasicBlock *BB) { |
if (NodeMap.find(BB) == NodeMap.end()) { |
NodeMap[BB] = Func->makeNode(); |
- if (ALLOW_DUMP) |
+ if (Ice::BuildDefs::dump()) |
NodeMap[BB]->setName(BB->getName()); |
} |
return NodeMap[BB]; |