| Index: src/accessors.cc
|
| diff --git a/src/accessors.cc b/src/accessors.cc
|
| index 9850cd388e416549ddd43e81672f9688c58728b3..4186bf4edf7630cfd443e4a70321b9959a0e959e 100644
|
| --- a/src/accessors.cc
|
| +++ b/src/accessors.cc
|
| @@ -1188,8 +1188,8 @@ Handle<Object> GetFunctionArguments(Isolate* isolate,
|
| if (!frame->is_optimized()) {
|
| // If there is an arguments variable in the stack, we return that.
|
| Handle<ScopeInfo> scope_info(function->shared()->scope_info());
|
| - int index = scope_info->StackSlotIndex(
|
| - isolate->heap()->arguments_string());
|
| + int index =
|
| + scope_info->StackLocalSlotIndex(isolate->heap()->arguments_string());
|
| if (index >= 0) {
|
| Handle<Object> arguments(frame->GetExpression(index), isolate);
|
| if (!arguments->IsArgumentsMarker()) return arguments;
|
|
|