| Index: src/scopeinfo.cc
|
| diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc
|
| index c9df1fb5801792881e256b11ac74ed6b2dc68dc7..3d09d3a2ab76455059b97a17111ba213153ba17f 100644
|
| --- a/src/scopeinfo.cc
|
| +++ b/src/scopeinfo.cc
|
| @@ -74,7 +74,7 @@ Handle<ScopeInfo> ScopeInfo::Create(Scope* scope, Zone* zone) {
|
| + parameter_count + stack_local_count + 2 * context_local_count
|
| + (has_function_name ? 2 : 0);
|
|
|
| - Factory* factory = Isolate::Current()->factory();
|
| + Factory* factory = zone->isolate()->factory();
|
| Handle<ScopeInfo> scope_info = factory->NewScopeInfo(length);
|
|
|
| // Encode the flags.
|
|
|