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

Unified Diff: tests_lit/parse_errs/Inputs/bad-switch-case.tbc

Issue 1303003002: Fix handling unknown branches when parsing switch instructions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit. Created 5 years, 4 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/PNaClTranslator.cpp ('k') | tests_lit/parse_errs/bad-switch-case.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/parse_errs/Inputs/bad-switch-case.tbc
diff --git a/tests_lit/parse_errs/Inputs/bad-var-fwdref.tbc b/tests_lit/parse_errs/Inputs/bad-switch-case.tbc
similarity index 54%
copy from tests_lit/parse_errs/Inputs/bad-var-fwdref.tbc
copy to tests_lit/parse_errs/Inputs/bad-switch-case.tbc
index 690a5a946cdca455e307dcaa02c9cf174a81dccc..27b9dd55c222d34b167804b75bcfa9d98b02df87 100644
--- a/tests_lit/parse_errs/Inputs/bad-var-fwdref.tbc
+++ b/tests_lit/parse_errs/Inputs/bad-switch-case.tbc
@@ -11,11 +11,15 @@
5,0;
65534;
65535,14,2;
-1,0,102;
+1,0,83,119,105,116,99,104,86,97,114,105,97,98,108,101;
65534;
65535,12,2;
-1,1;
-43,3105555534,1;
+1,6;
+12,1,1,2,2,1,1,2,3105555534,1,1,8,4;
+11,5;
+11,5;
+11,5;
+11,5;
10;
65534;
65534;
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | tests_lit/parse_errs/bad-switch-case.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698