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 2517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2528 static RawLibrary* AsyncLibrary(); | 2528 static RawLibrary* AsyncLibrary(); |
2529 static RawLibrary* CoreLibrary(); | 2529 static RawLibrary* CoreLibrary(); |
2530 static RawLibrary* CollectionLibrary(); | 2530 static RawLibrary* CollectionLibrary(); |
2531 static RawLibrary* CollectionDevLibrary(); | 2531 static RawLibrary* CollectionDevLibrary(); |
2532 static RawLibrary* CryptoLibrary(); | 2532 static RawLibrary* CryptoLibrary(); |
2533 static RawLibrary* IsolateLibrary(); | 2533 static RawLibrary* IsolateLibrary(); |
2534 static RawLibrary* JsonLibrary(); | 2534 static RawLibrary* JsonLibrary(); |
2535 static RawLibrary* MathLibrary(); | 2535 static RawLibrary* MathLibrary(); |
2536 static RawLibrary* MirrorsLibrary(); | 2536 static RawLibrary* MirrorsLibrary(); |
2537 static RawLibrary* NativeWrappersLibrary(); | 2537 static RawLibrary* NativeWrappersLibrary(); |
| 2538 static RawLibrary* PlatformLibrary(); |
2538 static RawLibrary* TypedDataLibrary(); | 2539 static RawLibrary* TypedDataLibrary(); |
2539 static RawLibrary* UriLibrary(); | 2540 static RawLibrary* UriLibrary(); |
2540 static RawLibrary* UtfLibrary(); | 2541 static RawLibrary* UtfLibrary(); |
2541 | 2542 |
2542 // Eagerly compile all classes and functions in the library. | 2543 // Eagerly compile all classes and functions in the library. |
2543 static RawError* CompileAll(); | 2544 static RawError* CompileAll(); |
2544 | 2545 |
2545 // Checks function fingerprints. Prints mismatches and aborts if | 2546 // Checks function fingerprints. Prints mismatches and aborts if |
2546 // mismatch found. | 2547 // mismatch found. |
2547 static void CheckFunctionFingerprints(); | 2548 static void CheckFunctionFingerprints(); |
(...skipping 3732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6280 | 6281 |
6281 | 6282 |
6282 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 6283 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
6283 intptr_t index) { | 6284 intptr_t index) { |
6284 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 6285 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
6285 } | 6286 } |
6286 | 6287 |
6287 } // namespace dart | 6288 } // namespace dart |
6288 | 6289 |
6289 #endif // VM_OBJECT_H_ | 6290 #endif // VM_OBJECT_H_ |
OLD | NEW |