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

Unified Diff: test/cctest/test-ast-expression-visitor.cc

Issue 1309303006: Propagate switch statement value for 'eval' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix AST tests 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/parser.cc ('k') | test/mjsunit/regress/regress-4399.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-ast-expression-visitor.cc
diff --git a/test/cctest/test-ast-expression-visitor.cc b/test/cctest/test-ast-expression-visitor.cc
index c7ef3605fe38e10bde4ffdcb6f659745c4939909..f4c1028ab2b16c932820a4a609c6b06c53373cf9 100644
--- a/test/cctest/test-ast-expression-visitor.cc
+++ b/test/cctest/test-ast-expression-visitor.cc
@@ -303,6 +303,7 @@ TEST(VisitSwitchStatment) {
CHECK_VAR(.switch_tag, DEFAULT_TYPE);
CHECK_EXPR(Literal, DEFAULT_TYPE);
}
+ CHECK_EXPR(Literal, DEFAULT_TYPE);
CHECK_VAR(.switch_tag, DEFAULT_TYPE);
CHECK_EXPR(Literal, DEFAULT_TYPE);
}
« no previous file with comments | « src/parser.cc ('k') | test/mjsunit/regress/regress-4399.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698