| 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* InternalLibrary(); | 3052 static RawLibrary* InternalLibrary(); |
| 3052 static RawLibrary* IsolateLibrary(); | 3053 static RawLibrary* IsolateLibrary(); |
| 3053 static RawLibrary* MathLibrary(); | 3054 static RawLibrary* MathLibrary(); |
| 3054 static RawLibrary* MirrorsLibrary(); | 3055 static RawLibrary* MirrorsLibrary(); |
| 3055 static RawLibrary* NativeWrappersLibrary(); | 3056 static RawLibrary* NativeWrappersLibrary(); |
| 3057 static RawLibrary* ProfilerLibrary(); |
| 3056 static RawLibrary* TypedDataLibrary(); | 3058 static RawLibrary* TypedDataLibrary(); |
| 3057 static RawLibrary* ProfilerLibrary(); | |
| 3058 | 3059 |
| 3059 // Eagerly compile all classes and functions in the library. | 3060 // Eagerly compile all classes and functions in the library. |
| 3060 static RawError* CompileAll(); | 3061 static RawError* CompileAll(); |
| 3061 | 3062 |
| 3062 // Checks function fingerprints. Prints mismatches and aborts if | 3063 // Checks function fingerprints. Prints mismatches and aborts if |
| 3063 // mismatch found. | 3064 // mismatch found. |
| 3064 static void CheckFunctionFingerprints(); | 3065 static void CheckFunctionFingerprints(); |
| 3065 | 3066 |
| 3066 static bool IsPrivate(const String& name); | 3067 static bool IsPrivate(const String& name); |
| 3067 // Construct the full name of a corelib member. | 3068 // Construct the full name of a corelib member. |
| (...skipping 4700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7768 | 7769 |
| 7769 | 7770 |
| 7770 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 7771 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 7771 intptr_t index) { | 7772 intptr_t index) { |
| 7772 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 7773 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 7773 } | 7774 } |
| 7774 | 7775 |
| 7775 } // namespace dart | 7776 } // namespace dart |
| 7776 | 7777 |
| 7777 #endif // VM_OBJECT_H_ | 7778 #endif // VM_OBJECT_H_ |
| OLD | NEW |