Index: src/PNaClTranslator.cpp |
diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp |
index 124ed894f34fd72da298a1c43b253227479e7179..8f1f99dfaeaf9446d1f2799b1f28255837b5e519 100644 |
--- a/src/PNaClTranslator.cpp |
+++ b/src/PNaClTranslator.cpp |
@@ -2678,7 +2678,8 @@ void FunctionValuesymtabParser::setBbName(uint64_t Index, StringType &Name) { |
return; |
} |
std::string Nm(Name.data(), Name.size()); |
- getFunctionParser()->getFunc()->getNodes()[Index]->setName(Nm); |
+ if (ALLOW_DUMP) |
+ getFunctionParser()->getFunc()->getNodes()[Index]->setName(Nm); |
} |
bool FunctionParser::ParseBlock(unsigned BlockID) { |