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()); |
} |