| 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 3501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3512 static RawLibrary* ConvertLibrary(); | 3512 static RawLibrary* ConvertLibrary(); |
| 3513 static RawLibrary* CoreLibrary(); | 3513 static RawLibrary* CoreLibrary(); |
| 3514 static RawLibrary* CollectionLibrary(); | 3514 static RawLibrary* CollectionLibrary(); |
| 3515 static RawLibrary* DeveloperLibrary(); | 3515 static RawLibrary* DeveloperLibrary(); |
| 3516 static RawLibrary* InternalLibrary(); | 3516 static RawLibrary* InternalLibrary(); |
| 3517 static RawLibrary* IsolateLibrary(); | 3517 static RawLibrary* IsolateLibrary(); |
| 3518 static RawLibrary* MathLibrary(); | 3518 static RawLibrary* MathLibrary(); |
| 3519 static RawLibrary* MirrorsLibrary(); | 3519 static RawLibrary* MirrorsLibrary(); |
| 3520 static RawLibrary* NativeWrappersLibrary(); | 3520 static RawLibrary* NativeWrappersLibrary(); |
| 3521 static RawLibrary* TypedDataLibrary(); | 3521 static RawLibrary* TypedDataLibrary(); |
| 3522 static RawLibrary* UriLibrary(); |
| 3522 static RawLibrary* VMServiceLibrary(); | 3523 static RawLibrary* VMServiceLibrary(); |
| 3523 | 3524 |
| 3524 // Eagerly compile all classes and functions in the library. | 3525 // Eagerly compile all classes and functions in the library. |
| 3525 static RawError* CompileAll(); | 3526 static RawError* CompileAll(); |
| 3526 | 3527 |
| 3527 #if defined(DART_NO_SNAPSHOT) | 3528 #if defined(DART_NO_SNAPSHOT) |
| 3528 // Checks function fingerprints. Prints mismatches and aborts if | 3529 // Checks function fingerprints. Prints mismatches and aborts if |
| 3529 // mismatch found. | 3530 // mismatch found. |
| 3530 static void CheckFunctionFingerprints(); | 3531 static void CheckFunctionFingerprints(); |
| 3531 #endif // defined(DART_NO_SNAPSHOT). | 3532 #endif // defined(DART_NO_SNAPSHOT). |
| (...skipping 4678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8210 | 8211 |
| 8211 | 8212 |
| 8212 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 8213 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 8213 intptr_t index) { | 8214 intptr_t index) { |
| 8214 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 8215 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 8215 } | 8216 } |
| 8216 | 8217 |
| 8217 } // namespace dart | 8218 } // namespace dart |
| 8218 | 8219 |
| 8219 #endif // VM_OBJECT_H_ | 8220 #endif // VM_OBJECT_H_ |
| OLD | NEW |