Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 5a25d26bba2176e4ced53b6eeafb5b86e81abe44..e8b2dbf9c98796d02a0e768466c4ab643d68d3dd 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -1237,8 +1237,7 @@ |
return compiler.CompileLoadCallback(lookup->name(), call_optimization, |
lookup->GetAccessorIndex()); |
} |
- int expected_arguments = |
- function->shared()->internal_formal_parameter_count(); |
+ int expected_arguments = function->shared()->formal_parameter_count(); |
return compiler.CompileLoadViaGetter( |
lookup->name(), lookup->GetAccessorIndex(), expected_arguments); |
} |
@@ -1744,8 +1743,7 @@ |
call_optimization, |
lookup->GetAccessorIndex()); |
} |
- int expected_arguments = |
- function->shared()->internal_formal_parameter_count(); |
+ int expected_arguments = function->shared()->formal_parameter_count(); |
return compiler.CompileStoreViaSetter(receiver, lookup->name(), |
lookup->GetAccessorIndex(), |
expected_arguments); |