Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: src/IceTypes.cpp

Issue 1197863003: Subzero: Reduce the amount of #ifdef'd code. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Use constexpr inline functions instead of macros Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/IceTypes.cpp
diff --git a/src/IceTypes.cpp b/src/IceTypes.cpp
index 793e1755928cf47f3d9bd9ea3736212a58abcfc0..8f9617e787a931a24835cb569634398b74c6786b 100644
--- a/src/IceTypes.cpp
+++ b/src/IceTypes.cpp
@@ -260,7 +260,7 @@ const char *typeString(Type Ty) {
}
void FuncSigType::dump(Ostream &Stream) const {
- if (!ALLOW_DUMP)
+ if (!buildAllowsDump())
return;
Stream << ReturnType << " (";
bool IsFirst = true;
« src/IceDefs.h ('K') | « src/IceTimerTree.cpp ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698