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

Unified Diff: src/IceTargetLoweringX8632.cpp

Issue 862853003: Fix build warnings (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 11 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/IceTargetLowering.h ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringX8632.cpp
diff --git a/src/IceTargetLoweringX8632.cpp b/src/IceTargetLoweringX8632.cpp
index ea1f013553a237afb1281ea9511ea46d276332af..501cdd733f2926220d130ecb879f546f6987f653 100644
--- a/src/IceTargetLoweringX8632.cpp
+++ b/src/IceTargetLoweringX8632.cpp
@@ -4710,14 +4710,6 @@ void TargetGlobalInitX8632::lower(const VariableDeclaration &Var) {
Str << "\n";
break;
}
- default: {
- std::string Buffer;
- llvm::raw_string_ostream StrBuf(Buffer);
- StrBuf << "Unable to lower initializer: ";
- Init->dump(StrBuf);
- llvm::report_fatal_error(StrBuf.str());
- break;
- }
}
}
} else if (IsConstant || IsExternal)
« no previous file with comments | « src/IceTargetLowering.h ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698