| Index: src/compiler.cc
|
| ===================================================================
|
| --- src/compiler.cc (revision 2994)
|
| +++ src/compiler.cc (working copy)
|
| @@ -28,7 +28,6 @@
|
| #include "v8.h"
|
|
|
| #include "bootstrapper.h"
|
| -#include "cfg.h"
|
| #include "codegen-inl.h"
|
| #include "compilation-cache.h"
|
| #include "compiler.h"
|
| @@ -79,22 +78,6 @@
|
| return Handle<Code>::null();
|
| }
|
|
|
| - if (FLAG_multipass) {
|
| - CfgGlobals scope(literal);
|
| - Cfg* cfg = Cfg::Build();
|
| -#ifdef DEBUG
|
| - if (FLAG_print_cfg && cfg != NULL) {
|
| - SmartPointer<char> name = literal->name()->ToCString();
|
| - PrintF("Function \"%s\":\n", *name);
|
| - cfg->Print();
|
| - PrintF("\n");
|
| - }
|
| -#endif
|
| - if (cfg != NULL) {
|
| - return cfg->Compile(script);
|
| - }
|
| - }
|
| -
|
| // Generate code and return it.
|
| Handle<Code> result = CodeGenerator::MakeCode(literal, script, is_eval);
|
| return result;
|
|
|