Index: runtime/lib/object_patch.dart |
diff --git a/runtime/lib/object_patch.dart b/runtime/lib/object_patch.dart |
index ae9589bd406d6792b88289dec61496dab5cab914..20caf88a2a1ec766f295812fc2de6917273a1c0e 100644 |
--- a/runtime/lib/object_patch.dart |
+++ b/runtime/lib/object_patch.dart |
@@ -57,7 +57,7 @@ |
// Call this function instead of inlining instanceof, thus collecting |
// type feedback and reducing code size of unoptimized code. |
- bool _instanceOf(instantiator_type_arguments, type) |
+ bool _instanceOf(instantiator_type_arguments, type, bool negate) |
native "Object_instanceOf"; |
// Group of functions for implementing fast simple instance of. |
@@ -65,6 +65,12 @@ |
bool _simpleInstanceOfTrue(type) => true; |
bool _simpleInstanceOfFalse(type) => false; |
+ bool _instanceOfDouble(bool negate) native "Object_instanceOfDouble"; |
+ bool _instanceOfNum(bool negate) native "Object_instanceOfNum"; |
+ bool _instanceOfInt(bool negate) native "Object_instanceOfInt"; |
+ bool _instanceOfSmi(bool negate) native "Object_instanceOfSmi"; |
+ bool _instanceOfString(bool negate) native "Object_instanceOfString"; |
+ |
// Call this function instead of inlining 'as', thus collecting type |
// feedback. Returns receiver. |
_as(instantiator_type_arguments, type) native "Object_as"; |