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 2526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2537 | 2537 |
2538 static RawLibrary* AsyncLibrary(); | 2538 static RawLibrary* AsyncLibrary(); |
2539 static RawLibrary* CoreLibrary(); | 2539 static RawLibrary* CoreLibrary(); |
2540 static RawLibrary* CollectionLibrary(); | 2540 static RawLibrary* CollectionLibrary(); |
2541 static RawLibrary* CollectionDevLibrary(); | 2541 static RawLibrary* CollectionDevLibrary(); |
2542 static RawLibrary* IsolateLibrary(); | 2542 static RawLibrary* IsolateLibrary(); |
2543 static RawLibrary* MathLibrary(); | 2543 static RawLibrary* MathLibrary(); |
2544 static RawLibrary* MirrorsLibrary(); | 2544 static RawLibrary* MirrorsLibrary(); |
2545 static RawLibrary* NativeWrappersLibrary(); | 2545 static RawLibrary* NativeWrappersLibrary(); |
2546 static RawLibrary* TypedDataLibrary(); | 2546 static RawLibrary* TypedDataLibrary(); |
2547 static RawLibrary* UtfLibrary(); | |
2548 | 2547 |
2549 // Eagerly compile all classes and functions in the library. | 2548 // Eagerly compile all classes and functions in the library. |
2550 static RawError* CompileAll(); | 2549 static RawError* CompileAll(); |
2551 | 2550 |
2552 // Checks function fingerprints. Prints mismatches and aborts if | 2551 // Checks function fingerprints. Prints mismatches and aborts if |
2553 // mismatch found. | 2552 // mismatch found. |
2554 static void CheckFunctionFingerprints(); | 2553 static void CheckFunctionFingerprints(); |
2555 | 2554 |
2556 static bool IsPrivate(const String& name); | 2555 static bool IsPrivate(const String& name); |
2557 // Construct the full name of a corelib member. | 2556 // Construct the full name of a corelib member. |
(...skipping 3737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6295 | 6294 |
6296 | 6295 |
6297 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 6296 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
6298 intptr_t index) { | 6297 intptr_t index) { |
6299 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 6298 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
6300 } | 6299 } |
6301 | 6300 |
6302 } // namespace dart | 6301 } // namespace dart |
6303 | 6302 |
6304 #endif // VM_OBJECT_H_ | 6303 #endif // VM_OBJECT_H_ |
OLD | NEW |