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

Unified Diff: src/IceTranslator.cpp

Issue 387023002: Clean up exit status and globals procecessing in llvm2ice. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change ExitStatus to ErrorStatus. Created 6 years, 5 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
« no previous file with comments | « src/IceTranslator.h ('k') | src/PNaClTranslator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTranslator.cpp
diff --git a/src/IceTranslator.cpp b/src/IceTranslator.cpp
index 7eb0fc0a632c17ae835da6b68411ff2c5d39b03c..4b84688f9155eda24087d53e36701e3ebfbd8776 100644
--- a/src/IceTranslator.cpp
+++ b/src/IceTranslator.cpp
@@ -40,7 +40,7 @@ void Translator::translateFcn(Ice::Cfg *Fcn) {
}
if (Func->hasError()) {
std::cerr << "ICE translation error: " << Func->getError() << "\n";
- ExitStatus = 1;
+ ErrorStatus = true;
}
Ice::Timer TEmit;
« no previous file with comments | « src/IceTranslator.h ('k') | src/PNaClTranslator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698