Index: src/compiler/linkage.cc |
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc |
index 71a669510bd9e44ed25fbb7f66d7982e7e1f6e7f..e0fd05d1c6bf84a98bdcb5afc547581ed1ac9c7b 100644 |
--- a/src/compiler/linkage.cc |
+++ b/src/compiler/linkage.cc |
@@ -51,7 +51,7 @@ |
// plus the receiver. |
SharedFunctionInfo* shared = info->closure()->shared(); |
return GetJSCallDescriptor(zone, info->is_osr(), |
- 1 + shared->internal_formal_parameter_count(), |
+ 1 + shared->formal_parameter_count(), |
CallDescriptor::kNoFlags); |
} |
if (info->code_stub() != NULL) { |