Commit a883bc72 authored by ishell@chromium.org's avatar ishell@chromium.org

Fix for GCMole issue.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/210963002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20234 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2e1b16de
......@@ -11277,8 +11277,10 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetFrameDetails) {
VariableMode mode;
InitializationFlag init_flag;
locals->set(i * 2, *name);
locals->set(i * 2 + 1, context->get(
scope_info->ContextSlotIndex(*name, &mode, &init_flag)));
int context_slot_index =
scope_info->ContextSlotIndex(*name, &mode, &init_flag);
Object* value = context->get(context_slot_index);
locals->set(i * 2 + 1, value);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment