| Index: src/compiler/js-native-context-specialization.cc
|
| diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc
|
| index 4ff5632372d80021b0c70f76650acfb1b38c1147..040b6c59d469be1c9af17e79a531896b88481bf9 100644
|
| --- a/src/compiler/js-native-context-specialization.cc
|
| +++ b/src/compiler/js-native-context-specialization.cc
|
| @@ -242,9 +242,8 @@ Reduction JSNativeContextSpecialization::ReduceJSInstanceOf(Node* node) {
|
| node->ReplaceInput(2, object);
|
| node->ReplaceInput(5, effect);
|
| NodeProperties::ChangeOp(
|
| - node,
|
| - javascript()->Call(3, 0.0f, VectorSlotPair(),
|
| - ConvertReceiverMode::kNotNullOrUndefined));
|
| + node, javascript()->Call(3, CallFrequency(), VectorSlotPair(),
|
| + ConvertReceiverMode::kNotNullOrUndefined));
|
|
|
| // Rewire the value uses of {node} to ToBoolean conversion of the result.
|
| Node* value = graph()->NewNode(javascript()->ToBoolean(ToBooleanHint::kAny),
|
| @@ -1503,7 +1502,7 @@ JSNativeContextSpecialization::BuildPropertyAccess(
|
| // Introduce the call to the getter function.
|
| if (access_info.constant()->IsJSFunction()) {
|
| value = effect = control = graph()->NewNode(
|
| - javascript()->Call(2, 0.0f, VectorSlotPair(),
|
| + javascript()->Call(2, CallFrequency(), VectorSlotPair(),
|
| ConvertReceiverMode::kNotNullOrUndefined),
|
| target, receiver, context, frame_state0, effect, control);
|
| } else {
|
| @@ -1539,7 +1538,7 @@ JSNativeContextSpecialization::BuildPropertyAccess(
|
| // Introduce the call to the setter function.
|
| if (access_info.constant()->IsJSFunction()) {
|
| effect = control = graph()->NewNode(
|
| - javascript()->Call(3, 0.0f, VectorSlotPair(),
|
| + javascript()->Call(3, CallFrequency(), VectorSlotPair(),
|
| ConvertReceiverMode::kNotNullOrUndefined),
|
| target, receiver, value, context, frame_state0, effect, control);
|
| } else {
|
|
|