Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 4b3a8830a0fff9cbed6694b9588742225d262814..976a1b6b7a26eec7328be0a802adcc54fbc7afca 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1442,6 +1442,16 @@ Bounds Typer::Visitor::TypeJSCallFunction(Node* node) { |
Bounds Typer::Visitor::TypeJSCallRuntime(Node* node) { |
+ switch (CallRuntimeParametersOf(node->op()).id()) { |
+ case Runtime::kInlineIsSmi: |
+ case Runtime::kInlineIsNonNegativeSmi: |
+ case Runtime::kInlineIsArray: |
+ case Runtime::kInlineIsFunction: |
+ case Runtime::kInlineIsRegExp: |
+ return Bounds(Type::None(zone()), Type::Boolean(zone())); |
+ default: |
+ break; |
+ } |
return Bounds::Unbounded(zone()); |
} |