Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index 9b77be17a7a33a18a1e85cd3aa6609fb30b3e84b..6e562f1c765711d195ddbd148497cbb5a1922b8d 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -797,7 +797,7 @@ class FunctionInfoListener { |
HandleScope scope; |
FunctionInfoWrapper info = FunctionInfoWrapper::Create(); |
info.SetInitialProperties(fun->name(), fun->start_position(), |
- fun->end_position(), fun->num_parameters(), |
+ fun->end_position(), fun->parameter_count(), |
current_parent_index_); |
current_parent_index_ = len_; |
SetElementNonStrict(result_, len_, info.GetJSArray()); |