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

Side by Side Diff: runtime/vm/object.h

Issue 12026019: Revert "Add dart:collection_dev library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/bootstrap_nocorelib.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 2046 matching lines...) Expand 10 before | Expand all | Expand 10 after
2057 return raw() == CoreLibrary(); 2057 return raw() == CoreLibrary();
2058 } 2058 }
2059 2059
2060 static RawLibrary* LookupLibrary(const String& url); 2060 static RawLibrary* LookupLibrary(const String& url);
2061 static RawLibrary* GetLibrary(intptr_t index); 2061 static RawLibrary* GetLibrary(intptr_t index);
2062 static bool IsKeyUsed(intptr_t key); 2062 static bool IsKeyUsed(intptr_t key);
2063 2063
2064 static void InitASyncLibrary(Isolate* isolate); 2064 static void InitASyncLibrary(Isolate* isolate);
2065 static void InitCoreLibrary(Isolate* isolate); 2065 static void InitCoreLibrary(Isolate* isolate);
2066 static void InitCollectionLibrary(Isolate* isolate); 2066 static void InitCollectionLibrary(Isolate* isolate);
2067 static void InitCollectionDevLibrary(Isolate* isolate);
2068 static void InitMathLibrary(Isolate* isolate); 2067 static void InitMathLibrary(Isolate* isolate);
2069 static void InitIsolateLibrary(Isolate* isolate); 2068 static void InitIsolateLibrary(Isolate* isolate);
2070 static void InitMirrorsLibrary(Isolate* isolate); 2069 static void InitMirrorsLibrary(Isolate* isolate);
2071 static void InitScalarlistLibrary(Isolate* isolate); 2070 static void InitScalarlistLibrary(Isolate* isolate);
2072 static void InitNativeWrappersLibrary(Isolate* isolate); 2071 static void InitNativeWrappersLibrary(Isolate* isolate);
2073 2072
2074 static RawLibrary* ASyncLibrary(); 2073 static RawLibrary* ASyncLibrary();
2075 static RawLibrary* CoreLibrary(); 2074 static RawLibrary* CoreLibrary();
2076 static RawLibrary* CollectionLibrary(); 2075 static RawLibrary* CollectionLibrary();
2077 static RawLibrary* CollectionDevLibrary();
2078 static RawLibrary* MathLibrary(); 2076 static RawLibrary* MathLibrary();
2079 static RawLibrary* IsolateLibrary(); 2077 static RawLibrary* IsolateLibrary();
2080 static RawLibrary* MirrorsLibrary(); 2078 static RawLibrary* MirrorsLibrary();
2081 static RawLibrary* ScalarlistLibrary(); 2079 static RawLibrary* ScalarlistLibrary();
2082 static RawLibrary* NativeWrappersLibrary(); 2080 static RawLibrary* NativeWrappersLibrary();
2083 2081
2084 // Eagerly compile all classes and functions in the library. 2082 // Eagerly compile all classes and functions in the library.
2085 static RawError* CompileAll(); 2083 static RawError* CompileAll();
2086 2084
2087 private: 2085 private:
(...skipping 4186 matching lines...) Expand 10 before | Expand all | Expand 10 after
6274 6272
6275 6273
6276 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6274 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6277 intptr_t index) { 6275 intptr_t index) {
6278 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6276 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6279 } 6277 }
6280 6278
6281 } // namespace dart 6279 } // namespace dart
6282 6280
6283 #endif // VM_OBJECT_H_ 6281 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_nocorelib.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698