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 3471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3482 static RawLibrary* AsyncLibrary(); | 3482 static RawLibrary* AsyncLibrary(); |
3483 static RawLibrary* ConvertLibrary(); | 3483 static RawLibrary* ConvertLibrary(); |
3484 static RawLibrary* CoreLibrary(); | 3484 static RawLibrary* CoreLibrary(); |
3485 static RawLibrary* CollectionLibrary(); | 3485 static RawLibrary* CollectionLibrary(); |
3486 static RawLibrary* DeveloperLibrary(); | 3486 static RawLibrary* DeveloperLibrary(); |
3487 static RawLibrary* InternalLibrary(); | 3487 static RawLibrary* InternalLibrary(); |
3488 static RawLibrary* IsolateLibrary(); | 3488 static RawLibrary* IsolateLibrary(); |
3489 static RawLibrary* MathLibrary(); | 3489 static RawLibrary* MathLibrary(); |
3490 static RawLibrary* MirrorsLibrary(); | 3490 static RawLibrary* MirrorsLibrary(); |
3491 static RawLibrary* NativeWrappersLibrary(); | 3491 static RawLibrary* NativeWrappersLibrary(); |
3492 static RawLibrary* ProfilerLibrary(); | |
3493 static RawLibrary* TypedDataLibrary(); | 3492 static RawLibrary* TypedDataLibrary(); |
3494 static RawLibrary* VMServiceLibrary(); | 3493 static RawLibrary* VMServiceLibrary(); |
3495 | 3494 |
3496 // Eagerly compile all classes and functions in the library. | 3495 // Eagerly compile all classes and functions in the library. |
3497 static RawError* CompileAll(); | 3496 static RawError* CompileAll(); |
3498 | 3497 |
3499 #if defined(DART_NO_SNAPSHOT) | 3498 #if defined(DART_NO_SNAPSHOT) |
3500 // Checks function fingerprints. Prints mismatches and aborts if | 3499 // Checks function fingerprints. Prints mismatches and aborts if |
3501 // mismatch found. | 3500 // mismatch found. |
3502 static void CheckFunctionFingerprints(); | 3501 static void CheckFunctionFingerprints(); |
(...skipping 4649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8152 | 8151 |
8153 | 8152 |
8154 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 8153 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
8155 intptr_t index) { | 8154 intptr_t index) { |
8156 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 8155 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
8157 } | 8156 } |
8158 | 8157 |
8159 } // namespace dart | 8158 } // namespace dart |
8160 | 8159 |
8161 #endif // VM_OBJECT_H_ | 8160 #endif // VM_OBJECT_H_ |
OLD | NEW |