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

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

Issue 11959012: 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
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 2023 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 return raw() == CoreLibrary(); 2034 return raw() == CoreLibrary();
2035 } 2035 }
2036 2036
2037 static RawLibrary* LookupLibrary(const String& url); 2037 static RawLibrary* LookupLibrary(const String& url);
2038 static RawLibrary* GetLibrary(intptr_t index); 2038 static RawLibrary* GetLibrary(intptr_t index);
2039 static bool IsKeyUsed(intptr_t key); 2039 static bool IsKeyUsed(intptr_t key);
2040 2040
2041 static void InitASyncLibrary(Isolate* isolate); 2041 static void InitASyncLibrary(Isolate* isolate);
2042 static void InitCoreLibrary(Isolate* isolate); 2042 static void InitCoreLibrary(Isolate* isolate);
2043 static void InitCollectionLibrary(Isolate* isolate); 2043 static void InitCollectionLibrary(Isolate* isolate);
2044 static void InitCollectionDevLibrary(Isolate* isolate);
2044 static void InitMathLibrary(Isolate* isolate); 2045 static void InitMathLibrary(Isolate* isolate);
2045 static void InitIsolateLibrary(Isolate* isolate); 2046 static void InitIsolateLibrary(Isolate* isolate);
2046 static void InitMirrorsLibrary(Isolate* isolate); 2047 static void InitMirrorsLibrary(Isolate* isolate);
2047 static void InitScalarlistLibrary(Isolate* isolate); 2048 static void InitScalarlistLibrary(Isolate* isolate);
2048 static void InitNativeWrappersLibrary(Isolate* isolate); 2049 static void InitNativeWrappersLibrary(Isolate* isolate);
2049 2050
2050 static RawLibrary* ASyncLibrary(); 2051 static RawLibrary* ASyncLibrary();
2051 static RawLibrary* CoreLibrary(); 2052 static RawLibrary* CoreLibrary();
2052 static RawLibrary* CollectionLibrary(); 2053 static RawLibrary* CollectionLibrary();
2054 static RawLibrary* CollectionDevLibrary();
2053 static RawLibrary* MathLibrary(); 2055 static RawLibrary* MathLibrary();
2054 static RawLibrary* IsolateLibrary(); 2056 static RawLibrary* IsolateLibrary();
2055 static RawLibrary* MirrorsLibrary(); 2057 static RawLibrary* MirrorsLibrary();
2056 static RawLibrary* ScalarlistLibrary(); 2058 static RawLibrary* ScalarlistLibrary();
2057 static RawLibrary* NativeWrappersLibrary(); 2059 static RawLibrary* NativeWrappersLibrary();
2058 2060
2059 // Eagerly compile all classes and functions in the library. 2061 // Eagerly compile all classes and functions in the library.
2060 static RawError* CompileAll(); 2062 static RawError* CompileAll();
2061 2063
2062 private: 2064 private:
(...skipping 4187 matching lines...) Expand 10 before | Expand all | Expand 10 after
6250 6252
6251 6253
6252 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6254 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6253 intptr_t index) { 6255 intptr_t index) {
6254 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6256 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6255 } 6257 }
6256 6258
6257 } // namespace dart 6259 } // namespace dart
6258 6260
6259 #endif // VM_OBJECT_H_ 6261 #endif // VM_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698