| 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 3473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(); | 3492 static RawLibrary* ProfilerLibrary(); |
| 3493 static RawLibrary* TypedDataLibrary(); | 3493 static RawLibrary* TypedDataLibrary(); |
| 3494 static RawLibrary* VMServiceLibrary(); |
| 3494 | 3495 |
| 3495 // Eagerly compile all classes and functions in the library. | 3496 // Eagerly compile all classes and functions in the library. |
| 3496 static RawError* CompileAll(); | 3497 static RawError* CompileAll(); |
| 3497 | 3498 |
| 3498 #if defined(DART_NO_SNAPSHOT) | 3499 #if defined(DART_NO_SNAPSHOT) |
| 3499 // Checks function fingerprints. Prints mismatches and aborts if | 3500 // Checks function fingerprints. Prints mismatches and aborts if |
| 3500 // mismatch found. | 3501 // mismatch found. |
| 3501 static void CheckFunctionFingerprints(); | 3502 static void CheckFunctionFingerprints(); |
| 3502 #endif // defined(DART_NO_SNAPSHOT). | 3503 #endif // defined(DART_NO_SNAPSHOT). |
| 3503 | 3504 |
| (...skipping 4644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8148 | 8149 |
| 8149 | 8150 |
| 8150 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 8151 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 8151 intptr_t index) { | 8152 intptr_t index) { |
| 8152 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 8153 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 8153 } | 8154 } |
| 8154 | 8155 |
| 8155 } // namespace dart | 8156 } // namespace dart |
| 8156 | 8157 |
| 8157 #endif // VM_OBJECT_H_ | 8158 #endif // VM_OBJECT_H_ |
| OLD | NEW |