| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index 89ae329823937508b500fba45144c70bd1780b74..9d31cd5230f1315663bb3e1f2d5d17bc6bcd4927 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "src/v8.h"
|
|
|
| +#include "src/ast.h"
|
| +#include "src/ast-numbering.h"
|
| #include "src/code-factory.h"
|
| #include "src/codegen.h"
|
| #include "src/compiler.h"
|
| @@ -306,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();
|
|
|