| 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 2525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2536 static void InitNativeWrappersLibrary(Isolate* isolate); | 2536 static void InitNativeWrappersLibrary(Isolate* isolate); |
| 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* PlatformLibrary(); | |
| 2547 static RawLibrary* TypedDataLibrary(); | 2546 static RawLibrary* TypedDataLibrary(); |
| 2548 static RawLibrary* UtfLibrary(); | 2547 static RawLibrary* UtfLibrary(); |
| 2549 | 2548 |
| 2550 // Eagerly compile all classes and functions in the library. | 2549 // Eagerly compile all classes and functions in the library. |
| 2551 static RawError* CompileAll(); | 2550 static RawError* CompileAll(); |
| 2552 | 2551 |
| 2553 // Checks function fingerprints. Prints mismatches and aborts if | 2552 // Checks function fingerprints. Prints mismatches and aborts if |
| 2554 // mismatch found. | 2553 // mismatch found. |
| 2555 static void CheckFunctionFingerprints(); | 2554 static void CheckFunctionFingerprints(); |
| 2556 | 2555 |
| (...skipping 3739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6296 | 6295 |
| 6297 | 6296 |
| 6298 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 6297 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 6299 intptr_t index) { | 6298 intptr_t index) { |
| 6300 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 6299 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 6301 } | 6300 } |
| 6302 | 6301 |
| 6303 } // namespace dart | 6302 } // namespace dart |
| 6304 | 6303 |
| 6305 #endif // VM_OBJECT_H_ | 6304 #endif // VM_OBJECT_H_ |
| OLD | NEW |