| Index: src/scopeinfo.cc
|
| diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc
|
| index d84c5bf0057b16779cfda42d2da65bcc23f745b4..db888fdb2bb464fa4a3c5ce337b746aa17eb9b68 100644
|
| --- a/src/scopeinfo.cc
|
| +++ b/src/scopeinfo.cc
|
| @@ -368,13 +368,11 @@ bool ScopeInfo::CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info,
|
| int context_index = Context::MIN_CONTEXT_SLOTS + i;
|
| RETURN_ON_EXCEPTION_VALUE(
|
| isolate,
|
| - Runtime::SetObjectProperty(
|
| - isolate,
|
| + Runtime::DefineObjectProperty(
|
| scope_object,
|
| Handle<String>(String::cast(scope_info->get(i + start))),
|
| Handle<Object>(context->get(context_index), isolate),
|
| - ::NONE,
|
| - SLOPPY),
|
| + ::NONE),
|
| false);
|
| }
|
| return true;
|
|
|