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

Unified Diff: runtime/vm/raw_object.h

Issue 27226003: Do not hide membership of implementation classes in dart:core. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/mirrors_patch.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 3a978b340ca59f0f44bf4fb9e911447b5862b657..f329f566fbaf5b8e8a230fd26e6e1fdbc3c3c225 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -400,7 +400,6 @@ class RawObject {
static bool IsTypedDataClassId(intptr_t index);
static bool IsTypedDataViewClassId(intptr_t index);
static bool IsExternalTypedDataClassId(intptr_t index);
- static bool IsImplementationClassId(intptr_t index);
static bool IsInternalVMdefinedClassId(intptr_t index);
static intptr_t NumberOfTypedDataClasses();
@@ -1703,13 +1702,6 @@ inline bool RawObject::IsExternalTypedDataClassId(intptr_t index) {
}
-inline bool RawObject::IsImplementationClassId(intptr_t index) {
- return IsBuiltinListClassId(index) ||
- IsStringClassId(index) ||
- IsNumberClassId(index);
-}
-
-
inline bool RawObject::IsInternalVMdefinedClassId(intptr_t index) {
return ((index < kNumPredefinedCids) &&
!RawObject::IsTypedDataViewClassId(index));
« no previous file with comments | « runtime/lib/mirrors_patch.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698