Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 02998f9b8ee9f1d0d210c80ff9add4117762be3a..fac8ed96188a8c019aa05d73b414d2e5fc5d61c3 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -621,8 +621,9 @@ MaybeObject* Accessors::FunctionGetArguments(Object* object, void*) { |
if (!frame->is_optimized()) { |
// If there is an arguments variable in the stack, we return that. |
- Handle<SerializedScopeInfo> info(function->shared()->scope_info()); |
- int index = info->StackSlotIndex(isolate->heap()->arguments_symbol()); |
+ Handle<ScopeInfo> scope_info(function->shared()->scope_info()); |
+ int index = scope_info->StackSlotIndex( |
+ isolate->heap()->arguments_symbol()); |
if (index >= 0) { |
Handle<Object> arguments(frame->GetExpression(index), isolate); |
if (!arguments->IsArgumentsMarker()) return *arguments; |