Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index b7fba653d527eb3d788e72b5db64f618a60f2cb0..0ba8ea0020ed379dc2d70fe423b6ac00d983f6f1 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -754,7 +754,7 @@ |
DCHECK(can_access_heap_objects() && |
isolate()->heap()->gc_state() == Heap::NOT_IN_GC); |
- return function()->shared()->internal_formal_parameter_count(); |
+ return function()->shared()->formal_parameter_count(); |
} |
@@ -1310,7 +1310,7 @@ |
int actual = ComputeParametersCount(); |
int expected = -1; |
JSFunction* function = this->function(); |
- expected = function->shared()->internal_formal_parameter_count(); |
+ expected = function->shared()->formal_parameter_count(); |
PrintIndex(accumulator, mode, index); |
accumulator->Add("arguments adaptor frame: %d->%d", actual, expected); |