Index: src/compiler/js-call-reducer.cc |
diff --git a/src/compiler/js-call-reducer.cc b/src/compiler/js-call-reducer.cc |
index 62ee929af6336cf7e140b2b7138277d25318ab59..1caf65da0147481f793bd8df8eb93d97a8a90e48 100644 |
--- a/src/compiler/js-call-reducer.cc |
+++ b/src/compiler/js-call-reducer.cc |
@@ -456,7 +456,7 @@ Reduction JSCallReducer::ReduceJSCallFunction(Node* node) { |
isolate()); |
CallFunctionParameters const& p = CallFunctionParametersOf(node->op()); |
ConvertReceiverMode const convert_mode = |
- (bound_this->IsNull(isolate()) || bound_this->IsUndefined(isolate())) |
+ (bound_this->IsNullOrUndefined(isolate())) |
? ConvertReceiverMode::kNullOrUndefined |
: ConvertReceiverMode::kNotNullOrUndefined; |
size_t arity = p.arity(); |