| 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 2646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2657 static RawLibrary* LookupLibrary(const String& url); | 2657 static RawLibrary* LookupLibrary(const String& url); |
| 2658 static RawLibrary* GetLibrary(intptr_t index); | 2658 static RawLibrary* GetLibrary(intptr_t index); |
| 2659 static bool IsKeyUsed(intptr_t key); | 2659 static bool IsKeyUsed(intptr_t key); |
| 2660 | 2660 |
| 2661 static void InitCoreLibrary(Isolate* isolate); | 2661 static void InitCoreLibrary(Isolate* isolate); |
| 2662 static void InitNativeWrappersLibrary(Isolate* isolate); | 2662 static void InitNativeWrappersLibrary(Isolate* isolate); |
| 2663 | 2663 |
| 2664 static RawLibrary* AsyncLibrary(); | 2664 static RawLibrary* AsyncLibrary(); |
| 2665 static RawLibrary* CoreLibrary(); | 2665 static RawLibrary* CoreLibrary(); |
| 2666 static RawLibrary* CollectionLibrary(); | 2666 static RawLibrary* CollectionLibrary(); |
| 2667 static RawLibrary* CollectionDevLibrary(); | 2667 static RawLibrary* InternalLibrary(); |
| 2668 static RawLibrary* IsolateLibrary(); | 2668 static RawLibrary* IsolateLibrary(); |
| 2669 static RawLibrary* MathLibrary(); | 2669 static RawLibrary* MathLibrary(); |
| 2670 static RawLibrary* MirrorsLibrary(); | 2670 static RawLibrary* MirrorsLibrary(); |
| 2671 static RawLibrary* NativeWrappersLibrary(); | 2671 static RawLibrary* NativeWrappersLibrary(); |
| 2672 static RawLibrary* TypedDataLibrary(); | 2672 static RawLibrary* TypedDataLibrary(); |
| 2673 | 2673 |
| 2674 // Eagerly compile all classes and functions in the library. | 2674 // Eagerly compile all classes and functions in the library. |
| 2675 static RawError* CompileAll(); | 2675 static RawError* CompileAll(); |
| 2676 | 2676 |
| 2677 // Checks function fingerprints. Prints mismatches and aborts if | 2677 // Checks function fingerprints. Prints mismatches and aborts if |
| (...skipping 3945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6623 | 6623 |
| 6624 | 6624 |
| 6625 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 6625 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 6626 intptr_t index) { | 6626 intptr_t index) { |
| 6627 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 6627 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 6628 } | 6628 } |
| 6629 | 6629 |
| 6630 } // namespace dart | 6630 } // namespace dart |
| 6631 | 6631 |
| 6632 #endif // VM_OBJECT_H_ | 6632 #endif // VM_OBJECT_H_ |
| OLD | NEW |