| Index: src/compiler.cc
|
| ===================================================================
|
| --- src/compiler.cc (revision 2602)
|
| +++ src/compiler.cc (working copy)
|
| @@ -80,7 +80,8 @@
|
| }
|
|
|
| if (FLAG_multipass) {
|
| - Cfg* cfg = Cfg::Build(literal);
|
| + CfgGlobals scope(literal);
|
| + Cfg* cfg = Cfg::Build();
|
| #ifdef DEBUG
|
| if (FLAG_print_cfg && cfg != NULL) {
|
| SmartPointer<char> name = literal->name()->ToCString();
|
| @@ -90,7 +91,7 @@
|
| }
|
| #endif
|
| if (cfg != NULL) {
|
| - return cfg->Compile(literal, script);
|
| + return cfg->Compile(script);
|
| }
|
| }
|
|
|
|
|