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 3464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3475 static RawLibrary* ConvertLibrary(); | 3475 static RawLibrary* ConvertLibrary(); |
3476 static RawLibrary* CoreLibrary(); | 3476 static RawLibrary* CoreLibrary(); |
3477 static RawLibrary* CollectionLibrary(); | 3477 static RawLibrary* CollectionLibrary(); |
3478 static RawLibrary* DeveloperLibrary(); | 3478 static RawLibrary* DeveloperLibrary(); |
3479 static RawLibrary* InternalLibrary(); | 3479 static RawLibrary* InternalLibrary(); |
3480 static RawLibrary* IsolateLibrary(); | 3480 static RawLibrary* IsolateLibrary(); |
3481 static RawLibrary* MathLibrary(); | 3481 static RawLibrary* MathLibrary(); |
3482 static RawLibrary* MirrorsLibrary(); | 3482 static RawLibrary* MirrorsLibrary(); |
3483 static RawLibrary* NativeWrappersLibrary(); | 3483 static RawLibrary* NativeWrappersLibrary(); |
3484 static RawLibrary* TypedDataLibrary(); | 3484 static RawLibrary* TypedDataLibrary(); |
| 3485 static RawLibrary* UriLibrary(); |
3485 static RawLibrary* VMServiceLibrary(); | 3486 static RawLibrary* VMServiceLibrary(); |
3486 | 3487 |
3487 // Eagerly compile all classes and functions in the library. | 3488 // Eagerly compile all classes and functions in the library. |
3488 static RawError* CompileAll(); | 3489 static RawError* CompileAll(); |
3489 | 3490 |
3490 #if defined(DART_NO_SNAPSHOT) | 3491 #if defined(DART_NO_SNAPSHOT) |
3491 // Checks function fingerprints. Prints mismatches and aborts if | 3492 // Checks function fingerprints. Prints mismatches and aborts if |
3492 // mismatch found. | 3493 // mismatch found. |
3493 static void CheckFunctionFingerprints(); | 3494 static void CheckFunctionFingerprints(); |
3494 #endif // defined(DART_NO_SNAPSHOT). | 3495 #endif // defined(DART_NO_SNAPSHOT). |
(...skipping 4678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8173 | 8174 |
8174 | 8175 |
8175 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 8176 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
8176 intptr_t index) { | 8177 intptr_t index) { |
8177 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 8178 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
8178 } | 8179 } |
8179 | 8180 |
8180 } // namespace dart | 8181 } // namespace dart |
8181 | 8182 |
8182 #endif // VM_OBJECT_H_ | 8183 #endif // VM_OBJECT_H_ |
OLD | NEW |