Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 715e4189b6298f8eedce5cf73ffc267b4e8a2b89..276d0dabf29c5663d20982d532ccd1de9ac94491 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -2547,6 +2547,10 @@ class RepresentationSelector { |
VisitObjectIs(node, Type::Undetectable(), lowering); |
return; |
} |
+ case IrOpcode::kTypeOfIsFunction: { |
+ VisitObjectIs(node, Type::Function(), lowering); |
+ return; |
+ } |
case IrOpcode::kNewRestParameterElements: |
case IrOpcode::kNewUnmappedArgumentsElements: { |
ProcessRemainingInputs(node, 0); |