Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index f7efc5ce43548399bac17b94fe724b85a337a3a9..9d31cd5230f1315663bb3e1f2d5d17bc6bcd4927 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -308,6 +308,11 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
TimerEventScope<TimerEventCompileFullCode> timer(info->isolate()); |
+ if (!AstNumbering::Renumber(info->function(), info->zone())) { |
+ DCHECK(!isolate->has_pending_exception()); |
+ return false; |
+ } |
+ |
Handle<Script> script = info->script(); |
if (!script->IsUndefined() && !script->source()->IsUndefined()) { |
int len = String::cast(script->source())->length(); |