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

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

Issue 11783009: Big merge from experimental to bleeding edge. (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/intrinsifier_x64.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 2009 matching lines...) Expand 10 before | Expand all | Expand 10 after
2020 } 2020 }
2021 2021
2022 bool IsCoreLibrary() const { 2022 bool IsCoreLibrary() const {
2023 return raw() == CoreLibrary(); 2023 return raw() == CoreLibrary();
2024 } 2024 }
2025 2025
2026 static RawLibrary* LookupLibrary(const String& url); 2026 static RawLibrary* LookupLibrary(const String& url);
2027 static RawLibrary* GetLibrary(intptr_t index); 2027 static RawLibrary* GetLibrary(intptr_t index);
2028 static bool IsKeyUsed(intptr_t key); 2028 static bool IsKeyUsed(intptr_t key);
2029 2029
2030 static void InitASyncLibrary(Isolate* isolate);
2030 static void InitCoreLibrary(Isolate* isolate); 2031 static void InitCoreLibrary(Isolate* isolate);
2031 static void InitCollectionLibrary(Isolate* isolate); 2032 static void InitCollectionLibrary(Isolate* isolate);
2032 static void InitMathLibrary(Isolate* isolate); 2033 static void InitMathLibrary(Isolate* isolate);
2033 static void InitIsolateLibrary(Isolate* isolate); 2034 static void InitIsolateLibrary(Isolate* isolate);
2034 static void InitMirrorsLibrary(Isolate* isolate); 2035 static void InitMirrorsLibrary(Isolate* isolate);
2035 static void InitScalarlistLibrary(Isolate* isolate); 2036 static void InitScalarlistLibrary(Isolate* isolate);
2036 static void InitNativeWrappersLibrary(Isolate* isolate); 2037 static void InitNativeWrappersLibrary(Isolate* isolate);
2037 2038
2039 static RawLibrary* ASyncLibrary();
2038 static RawLibrary* CoreLibrary(); 2040 static RawLibrary* CoreLibrary();
2039 static RawLibrary* CollectionLibrary(); 2041 static RawLibrary* CollectionLibrary();
2040 static RawLibrary* MathLibrary(); 2042 static RawLibrary* MathLibrary();
2041 static RawLibrary* IsolateLibrary(); 2043 static RawLibrary* IsolateLibrary();
2042 static RawLibrary* MirrorsLibrary(); 2044 static RawLibrary* MirrorsLibrary();
2043 static RawLibrary* ScalarlistLibrary(); 2045 static RawLibrary* ScalarlistLibrary();
2044 static RawLibrary* NativeWrappersLibrary(); 2046 static RawLibrary* NativeWrappersLibrary();
2045 2047
2046 // Eagerly compile all classes and functions in the library. 2048 // Eagerly compile all classes and functions in the library.
2047 static RawError* CompileAll(); 2049 static RawError* CompileAll();
(...skipping 4189 matching lines...) Expand 10 before | Expand all | Expand 10 after
6237 6239
6238 6240
6239 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6241 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6240 intptr_t index) { 6242 intptr_t index) {
6241 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6243 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6242 } 6244 }
6243 6245
6244 } // namespace dart 6246 } // namespace dart
6245 6247
6246 #endif // VM_OBJECT_H_ 6248 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698