Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index 72a0e921b377df3df3c99cfcbe25d5a17967edc1..60dbc273bb200b8654d9cceacf43e743264f42cb 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -897,7 +897,7 @@ Reduction JSTypedLowering::ReduceJSEqualTypeOf(Node* node, bool invert) { |
graph()->NewNode(simplified()->ReferenceEqual(), input, |
jsgraph()->FalseConstant())); |
} else if (String::Equals(type, factory()->function_string())) { |
- value = graph()->NewNode(simplified()->ObjectIsCallable(), input); |
+ value = graph()->NewNode(simplified()->ObjectIsDetectableCallable(), input); |
} else if (String::Equals(type, factory()->number_string())) { |
value = graph()->NewNode(simplified()->ObjectIsNumber(), input); |
} else if (String::Equals(type, factory()->object_string())) { |