| 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 <limits> | 8 #include <limits> |
| 9 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
| 10 #include "platform/assert.h" | 10 #include "platform/assert.h" |
| (...skipping 2743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2754 return raw() == CoreLibrary(); | 2754 return raw() == CoreLibrary(); |
| 2755 } | 2755 } |
| 2756 | 2756 |
| 2757 static RawLibrary* LookupLibrary(const String& url); | 2757 static RawLibrary* LookupLibrary(const String& url); |
| 2758 static RawLibrary* GetLibrary(intptr_t index); | 2758 static RawLibrary* GetLibrary(intptr_t index); |
| 2759 | 2759 |
| 2760 static void InitCoreLibrary(Isolate* isolate); | 2760 static void InitCoreLibrary(Isolate* isolate); |
| 2761 static void InitNativeWrappersLibrary(Isolate* isolate); | 2761 static void InitNativeWrappersLibrary(Isolate* isolate); |
| 2762 | 2762 |
| 2763 static RawLibrary* AsyncLibrary(); | 2763 static RawLibrary* AsyncLibrary(); |
| 2764 static RawLibrary* ConvertLibrary(); |
| 2764 static RawLibrary* CoreLibrary(); | 2765 static RawLibrary* CoreLibrary(); |
| 2765 static RawLibrary* CollectionLibrary(); | 2766 static RawLibrary* CollectionLibrary(); |
| 2766 static RawLibrary* InternalLibrary(); | 2767 static RawLibrary* InternalLibrary(); |
| 2767 static RawLibrary* IsolateLibrary(); | 2768 static RawLibrary* IsolateLibrary(); |
| 2768 static RawLibrary* MathLibrary(); | 2769 static RawLibrary* MathLibrary(); |
| 2769 static RawLibrary* MirrorsLibrary(); | 2770 static RawLibrary* MirrorsLibrary(); |
| 2770 static RawLibrary* NativeWrappersLibrary(); | 2771 static RawLibrary* NativeWrappersLibrary(); |
| 2771 static RawLibrary* TypedDataLibrary(); | 2772 static RawLibrary* TypedDataLibrary(); |
| 2772 static RawLibrary* ProfilerLibrary(); | 2773 static RawLibrary* ProfilerLibrary(); |
| 2773 | 2774 |
| (...skipping 4378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7152 | 7153 |
| 7153 | 7154 |
| 7154 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 7155 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 7155 intptr_t index) { | 7156 intptr_t index) { |
| 7156 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 7157 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 7157 } | 7158 } |
| 7158 | 7159 |
| 7159 } // namespace dart | 7160 } // namespace dart |
| 7160 | 7161 |
| 7161 #endif // VM_OBJECT_H_ | 7162 #endif // VM_OBJECT_H_ |
| OLD | NEW |