| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 76be0a6495e39c0fb56fbef6180565220ec9e00b..6f173c87a81bcb70550afa49509096cd3f1f32ed 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -5602,7 +5602,7 @@ bool JSObject::ReferencesObject(Object* obj) {
|
| if (context->has_extension() && !context->IsCatchContext()) {
|
| // With harmony scoping, a JSFunction may have a global context.
|
| // TODO(mvstanton): walk into the ScopeInfo.
|
| - if (FLAG_harmony_scoping && context->IsScriptContext()) {
|
| + if (context->IsScriptContext()) {
|
| return false;
|
| }
|
|
|
|
|