| 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 3033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3044 static RawLibrary* AsyncLibrary(); | 3044 static RawLibrary* AsyncLibrary(); |
| 3045 static RawLibrary* ConvertLibrary(); | 3045 static RawLibrary* ConvertLibrary(); |
| 3046 static RawLibrary* CoreLibrary(); | 3046 static RawLibrary* CoreLibrary(); |
| 3047 static RawLibrary* CollectionLibrary(); | 3047 static RawLibrary* CollectionLibrary(); |
| 3048 static RawLibrary* DeveloperLibrary(); | 3048 static RawLibrary* DeveloperLibrary(); |
| 3049 static RawLibrary* InternalLibrary(); | 3049 static RawLibrary* InternalLibrary(); |
| 3050 static RawLibrary* IsolateLibrary(); | 3050 static RawLibrary* IsolateLibrary(); |
| 3051 static RawLibrary* MathLibrary(); | 3051 static RawLibrary* MathLibrary(); |
| 3052 static RawLibrary* MirrorsLibrary(); | 3052 static RawLibrary* MirrorsLibrary(); |
| 3053 static RawLibrary* NativeWrappersLibrary(); | 3053 static RawLibrary* NativeWrappersLibrary(); |
| 3054 static RawLibrary* ProfilerLibrary(); |
| 3054 static RawLibrary* TypedDataLibrary(); | 3055 static RawLibrary* TypedDataLibrary(); |
| 3055 | 3056 |
| 3056 // Eagerly compile all classes and functions in the library. | 3057 // Eagerly compile all classes and functions in the library. |
| 3057 static RawError* CompileAll(); | 3058 static RawError* CompileAll(); |
| 3058 | 3059 |
| 3059 #if defined(DART_NO_SNAPSHOT) | 3060 #if defined(DART_NO_SNAPSHOT) |
| 3060 // Checks function fingerprints. Prints mismatches and aborts if | 3061 // Checks function fingerprints. Prints mismatches and aborts if |
| 3061 // mismatch found. | 3062 // mismatch found. |
| 3062 static void CheckFunctionFingerprints(); | 3063 static void CheckFunctionFingerprints(); |
| 3063 #endif // defined(DART_NO_SNAPSHOT). | 3064 #endif // defined(DART_NO_SNAPSHOT). |
| (...skipping 4706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7770 | 7771 |
| 7771 | 7772 |
| 7772 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 7773 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 7773 intptr_t index) { | 7774 intptr_t index) { |
| 7774 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 7775 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 7775 } | 7776 } |
| 7776 | 7777 |
| 7777 } // namespace dart | 7778 } // namespace dart |
| 7778 | 7779 |
| 7779 #endif // VM_OBJECT_H_ | 7780 #endif // VM_OBJECT_H_ |
| OLD | NEW |