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

Unified Diff: src/full-codegen/full-codegen.cc

Issue 2654423004: [async-functions] support await expressions in finally statements (Closed)
Patch Set: Get everything working (except possibly inspector tests) Created 3 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
Index: src/full-codegen/full-codegen.cc
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
index 5351d6fffd85b704cc0c6610847ae339e8f2c860..4daf913ae3337f479d391a7a625843d14b5ced87 100644
--- a/src/full-codegen/full-codegen.cc
+++ b/src/full-codegen/full-codegen.cc
@@ -88,6 +88,7 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info, uintptr_t stack_limit) {
DCHECK(!info->shared_info()->must_use_ignition_turbo());
DCHECK(!FLAG_minimal);
+ DCHECK_NULL(info->literal()->parameter_init_block());
RuntimeCallTimerScope runtimeTimer(isolate,
&RuntimeCallStats::CompileFullCode);
TimerEventScope<TimerEventCompileFullCode> timer(info->isolate());
@@ -1447,6 +1448,10 @@ void FullCodeGenerator::VisitEmptyParentheses(EmptyParentheses* expr) {
void FullCodeGenerator::VisitGetIterator(GetIterator* expr) { UNREACHABLE(); }
+void FullCodeGenerator::VisitInternalVariable(InternalVariable* expr) {
+ UNREACHABLE();
+}
+
void FullCodeGenerator::VisitRewritableExpression(RewritableExpression* expr) {
Visit(expr->expression());
}

Powered by Google App Engine
This is Rietveld 408576698