| Index: src/ast/scopeinfo.cc
|
| diff --git a/src/ast/scopeinfo.cc b/src/ast/scopeinfo.cc
|
| index 5d0212c750b5916c1d95de1da83f9692a9f47643..70547aab5d0d2b209ef2c578d2ee32f65aba3993 100644
|
| --- a/src/ast/scopeinfo.cc
|
| +++ b/src/ast/scopeinfo.cc
|
| @@ -373,7 +373,7 @@ Handle<ScopeInfo> ScopeInfo::CreateGlobalThisBinding(Isolate* isolate) {
|
|
|
| // Here we add info for context-allocated "this".
|
| DCHECK_EQ(index, scope_info->ContextLocalNamesIndex());
|
| - scope_info->set(index++, *isolate->factory()->this_string());
|
| + scope_info->set(index++, isolate->heap()->this_string());
|
| DCHECK_EQ(index, scope_info->ContextLocalInfosIndex());
|
| const uint32_t value = VariableModeField::encode(CONST) |
|
| InitFlagField::encode(kCreatedInitialized) |
|
|
|