Index: src/scopeinfo.cc |
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
index f1ae876ca3081f02ae4b397e22027106c9d589f6..04c0044d9d3a071b0b492b0a471eb88a4b59604e 100644 |
--- a/src/scopeinfo.cc |
+++ b/src/scopeinfo.cc |
@@ -374,15 +374,14 @@ bool ScopeInfo::CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info, |
int end = start + local_count; |
for (int i = start; i < end; ++i) { |
int context_index = Context::MIN_CONTEXT_SLOTS + i - start; |
- RETURN_IF_EMPTY_HANDLE_VALUE( |
+ Handle<Object> result = Runtime::SetObjectProperty( |
isolate, |
- SetProperty(isolate, |
- scope_object, |
- Handle<String>(String::cast(scope_info->get(i))), |
- Handle<Object>(context->get(context_index), isolate), |
- ::NONE, |
- kNonStrictMode), |
- false); |
+ scope_object, |
+ Handle<String>(String::cast(scope_info->get(i))), |
+ Handle<Object>(context->get(context_index), isolate), |
+ ::NONE, |
+ kNonStrictMode); |
+ RETURN_IF_EMPTY_HANDLE_VALUE(isolate, result, false); |
} |
return true; |
} |