OLD | NEW |
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 3030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3041 static RawLibrary* LookupLibrary(const String& url); | 3041 static RawLibrary* LookupLibrary(const String& url); |
3042 static RawLibrary* GetLibrary(intptr_t index); | 3042 static RawLibrary* GetLibrary(intptr_t index); |
3043 | 3043 |
3044 static void InitCoreLibrary(Isolate* isolate); | 3044 static void InitCoreLibrary(Isolate* isolate); |
3045 static void InitNativeWrappersLibrary(Isolate* isolate); | 3045 static void InitNativeWrappersLibrary(Isolate* isolate); |
3046 | 3046 |
3047 static RawLibrary* AsyncLibrary(); | 3047 static RawLibrary* AsyncLibrary(); |
3048 static RawLibrary* ConvertLibrary(); | 3048 static RawLibrary* ConvertLibrary(); |
3049 static RawLibrary* CoreLibrary(); | 3049 static RawLibrary* CoreLibrary(); |
3050 static RawLibrary* CollectionLibrary(); | 3050 static RawLibrary* CollectionLibrary(); |
3051 static RawLibrary* DebuggerLibrary(); | 3051 static RawLibrary* DeveloperLibrary(); |
3052 static RawLibrary* InternalLibrary(); | 3052 static RawLibrary* InternalLibrary(); |
3053 static RawLibrary* IsolateLibrary(); | 3053 static RawLibrary* IsolateLibrary(); |
3054 static RawLibrary* MathLibrary(); | 3054 static RawLibrary* MathLibrary(); |
3055 static RawLibrary* MirrorsLibrary(); | 3055 static RawLibrary* MirrorsLibrary(); |
3056 static RawLibrary* NativeWrappersLibrary(); | 3056 static RawLibrary* NativeWrappersLibrary(); |
3057 static RawLibrary* ProfilerLibrary(); | 3057 static RawLibrary* ProfilerLibrary(); |
3058 static RawLibrary* TypedDataLibrary(); | 3058 static RawLibrary* TypedDataLibrary(); |
3059 | 3059 |
3060 // Eagerly compile all classes and functions in the library. | 3060 // Eagerly compile all classes and functions in the library. |
3061 static RawError* CompileAll(); | 3061 static RawError* CompileAll(); |
(...skipping 4710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7772 | 7772 |
7773 | 7773 |
7774 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 7774 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
7775 intptr_t index) { | 7775 intptr_t index) { |
7776 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 7776 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
7777 } | 7777 } |
7778 | 7778 |
7779 } // namespace dart | 7779 } // namespace dart |
7780 | 7780 |
7781 #endif // VM_OBJECT_H_ | 7781 #endif // VM_OBJECT_H_ |
OLD | NEW |