Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index cee26520772de48aedf616fe8c87b1225a3f8dd6..0e6a083910e01e5f5a089334b25b8546348805d3 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -1186,9 +1186,8 @@ static Handle<Object> ArgumentsForInlinedFunction( |
Isolate* isolate = inlined_function->GetIsolate(); |
Factory* factory = isolate->factory(); |
SlotRefValueBuilder slot_refs( |
- frame, |
- inlined_frame_index, |
- inlined_function->shared()->formal_parameter_count()); |
+ frame, inlined_frame_index, |
+ inlined_function->shared()->internal_formal_parameter_count()); |
int args_count = slot_refs.args_length(); |
Handle<JSObject> arguments = |