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

Unified Diff: src/PNaClTranslator.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/IceTargetLoweringX8632.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/PNaClTranslator.cpp
diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp
index 01ba264aed3f53cd3b6df77c6ca8386d24261934..dfe93ff99957601bf4c5c5366dd14e335ba79d92 100644
--- a/src/PNaClTranslator.cpp
+++ b/src/PNaClTranslator.cpp
@@ -100,9 +100,6 @@ Ice::Ostream &operator<<(Ice::Ostream &Stream, ExtendedType::TypeKind Kind) {
case ExtendedType::FuncSig:
Stream << "FuncSig";
break;
- default:
- Stream << "??";
- break;
}
return Stream;
}
@@ -1434,9 +1431,6 @@ private:
if (!ALLOW_DUMP)
return;
switch (Value) {
- default:
- report_fatal_error("Unknown VectorIndexCheckValue");
- break;
case VectorIndexNotVector:
Stream << "Vector index on non vector";
break;
@@ -2489,10 +2483,6 @@ void FunctionParser::ProcessRecord() {
if (IntrinsicInfo) {
Ice::SizeT ArgIndex = 0;
switch (IntrinsicInfo->validateCall(Inst, ArgIndex)) {
- default:
- Error("Unknown validation error for intrinsic call");
- // TODO(kschimpf) Remove error recovery once implementation complete.
- break;
case Ice::Intrinsics::IsValidCall:
break;
case Ice::Intrinsics::BadReturnType: {
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698