Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(618)

Unified Diff: runtime/lib/class_id.dart

Issue 2693863006: VM: Restore old implementation of ClassID.cid* fields (Closed)
Patch Set: Done Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/class_id.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/class_id.dart
diff --git a/runtime/lib/class_id.dart b/runtime/lib/class_id.dart
index 8a8d670cf90e1f1549769d614d8074cb3b4c52e4..2f60f8559c00bb6f594a828148186a116513404b 100644
--- a/runtime/lib/class_id.dart
+++ b/runtime/lib/class_id.dart
@@ -5,13 +5,5 @@
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');
+ // VM injects class id constants into this class.
}
« no previous file with comments | « runtime/lib/class_id.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698