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

Unified Diff: src/IceCfg.cpp

Issue 1264913005: Fix a -Wcovered-switch-default warning in emitJumpTables. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: add warning to default.wq Created 5 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 | « Makefile.standalone ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.cpp
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
index 9e5df996161e650feb98756426c9a52da4500109..ef49c155f615cb2ad1e2c2998aa1cb1f9f47bfa8 100644
--- a/src/IceCfg.cpp
+++ b/src/IceCfg.cpp
@@ -627,9 +627,6 @@ void Cfg::emitJumpTables() {
for (const InstJumpTable *JumpTable : JumpTables)
getTarget()->emitJumpTable(this, JumpTable);
} break;
- default:
- llvm::report_fatal_error("Invalid out file type.");
- break;
}
}
« no previous file with comments | « Makefile.standalone ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698