Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 4e3cfc48d7a991aa4d42c21f4b74c45194baeac8..31d6e3e00c2cc355bc8b2caaface11a6989d55bd 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2102,7 +2102,7 @@ bool Genesis::InstallNatives() { |
DCHECK(call->is_compiled()); |
// Set the expected parameters for apply to 2; required by builtin. |
- apply->shared()->set_formal_parameter_count(2); |
+ apply->shared()->set_internal_formal_parameter_count(2); |
// Set the lengths for the functions to satisfy ECMA-262. |
call->shared()->set_length(1); |