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

Unified Diff: src/typing-asm.cc

Issue 1399893002: [es7] implement |do| expressions proposal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Disable CrankShaft Created 5 years, 2 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
Index: src/typing-asm.cc
diff --git a/src/typing-asm.cc b/src/typing-asm.cc
index a58572a1d9cb75b5a3f6807d8e9e52e7f128d529..5198f5918337fa47bfbc502be473d44603469719 100644
--- a/src/typing-asm.cc
+++ b/src/typing-asm.cc
@@ -436,6 +436,11 @@ void AsmTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) {
}
+void AsmTyper::VisitDoExpression(DoExpression* expr) {
+ FAIL(expr, "do-expression encountered");
+}
+
+
void AsmTyper::VisitConditional(Conditional* expr) {
RECURSE(VisitWithExpectation(expr->condition(), cache_.kInt32,
"condition expected to be integer"));
« src/ast.h ('K') | « src/rewriter.cc ('k') | test/mjsunit/harmony/do-expressions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698