Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 303210bbe23a6b4de0e04de246fb738b1e0f5088..2642a1007a4e502a2b9cef8037ead3dd68cae9cf 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1242,6 +1242,10 @@ Type* Typer::Visitor::TypeJSHasProperty(Node* node) { return Type::Boolean(); } |
Type* Typer::Visitor::TypeJSInstanceOf(Node* node) { return Type::Boolean(); } |
+Type* Typer::Visitor::TypeJSOrdinaryHasInstance(Node* node) { |
+ return Type::Boolean(); |
+} |
+ |
// JS context operators. |
@@ -1402,9 +1406,15 @@ Type* Typer::Visitor::JSCallFunctionTyper(Type* fun, Typer* t) { |
return Type::Range(-1, kMaxSafeInteger, t->zone()); |
case kArrayPush: |
return t->cache_.kPositiveSafeInteger; |
+ |
// Object functions. |
case kObjectHasOwnProperty: |
return Type::Boolean(); |
+ |
+ // Function functions. |
+ case kFunctionHasInstance: |
+ return Type::Boolean(); |
+ |
// Global functions. |
case kGlobalDecodeURI: |
case kGlobalDecodeURIComponent: |