Index: runtime/lib/class_id.dart |
diff --git a/runtime/lib/class_id.dart b/runtime/lib/class_id.dart |
index 045cfa188de25c39df1ab04f17257457e04dac20..8a8d670cf90e1f1549769d614d8074cb3b4c52e4 100644 |
--- a/runtime/lib/class_id.dart |
+++ b/runtime/lib/class_id.dart |
@@ -4,4 +4,14 @@ |
class ClassID { |
static int getID(Object value) native "ClassID_getID"; |
+ |
+ static int _lookup(String name) native "ClassID_byName"; |
+ |
+ static final int cidArray = _lookup('Array'); |
+ static final int cidExternalOneByteString = _lookup('ExternalOneByteString'); |
+ static final int cidGrowableObjectArray = _lookup('GrowableObjectArray'); |
+ static final int cidImmutableArray = _lookup('ImmutableArray'); |
+ static final int cidOneByteString = _lookup('OneByteString'); |
+ static final int cidTwoByteString = _lookup('TwoByteString'); |
+ static final int cidBigint = _lookup('Bigint'); |
} |