Chromium Code Reviews| Index: src/compiler.cc |
| diff --git a/src/compiler.cc b/src/compiler.cc |
| index ce3badb0f380727a0eef5c5f57412e2bce9c0097..960870a95145845fc3819fa0ea1d0dfb426e932d 100644 |
| --- a/src/compiler.cc |
| +++ b/src/compiler.cc |
| @@ -6,6 +6,7 @@ |
| #include "src/compiler.h" |
| +#include "src/ast-numbering.h" |
| #include "src/bootstrapper.h" |
| #include "src/codegen.h" |
| #include "src/compilation-cache.h" |
| @@ -640,6 +641,7 @@ static bool CompileUnoptimizedCode(CompilationInfo* info) { |
| DCHECK(info->function() != NULL); |
| if (!Rewriter::Rewrite(info)) return false; |
| if (!Scope::Analyze(info)) return false; |
| + if (!AstNumbering::Renumber(info->function(), info->zone())) return false; |
|
Sven Panne
2014/10/15 07:41:56
Not a fault of this CL, but we should *really, rea
|
| DCHECK(info->scope() != NULL); |
| if (!FullCodeGenerator::MakeCode(info)) { |
| @@ -737,6 +739,7 @@ static bool CompileOptimizedPrologue(CompilationInfo* info) { |
| if (!Parser::Parse(info)) return false; |
| if (!Rewriter::Rewrite(info)) return false; |
| if (!Scope::Analyze(info)) return false; |
| + if (!AstNumbering::Renumber(info->function(), info->zone())) return false; |
| DCHECK(info->scope() != NULL); |
| return true; |
| } |