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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1188 RawFunction* LookupConstructorAllowPrivate(const String& name) const; | 1188 RawFunction* LookupConstructorAllowPrivate(const String& name) const; |
1189 RawFunction* LookupFactory(const String& name) const; | 1189 RawFunction* LookupFactory(const String& name) const; |
1190 RawFunction* LookupFactoryAllowPrivate(const String& name) const; | 1190 RawFunction* LookupFactoryAllowPrivate(const String& name) const; |
1191 RawFunction* LookupFunction(const String& name) const; | 1191 RawFunction* LookupFunction(const String& name) const; |
1192 RawFunction* LookupFunctionAllowPrivate(const String& name) const; | 1192 RawFunction* LookupFunctionAllowPrivate(const String& name) const; |
1193 RawFunction* LookupGetterFunction(const String& name) const; | 1193 RawFunction* LookupGetterFunction(const String& name) const; |
1194 RawFunction* LookupSetterFunction(const String& name) const; | 1194 RawFunction* LookupSetterFunction(const String& name) const; |
1195 RawField* LookupInstanceField(const String& name) const; | 1195 RawField* LookupInstanceField(const String& name) const; |
1196 RawField* LookupStaticField(const String& name) const; | 1196 RawField* LookupStaticField(const String& name) const; |
1197 RawField* LookupField(const String& name) const; | 1197 RawField* LookupField(const String& name) const; |
| 1198 RawField* LookupFieldAllowPrivate(const String& name) const; |
| 1199 RawField* LookupInstanceFieldAllowPrivate(const String& name) const; |
| 1200 RawField* LookupStaticFieldAllowPrivate(const String& name) const; |
1198 | 1201 |
1199 RawLibraryPrefix* LookupLibraryPrefix(const String& name) const; | 1202 RawLibraryPrefix* LookupLibraryPrefix(const String& name) const; |
1200 | 1203 |
1201 // Returns an instance of Double or Double::null(). | 1204 // Returns an instance of Double or Double::null(). |
1202 // 'index' points to either: | 1205 // 'index' points to either: |
1203 // - constants_list_ position of found element, or | 1206 // - constants_list_ position of found element, or |
1204 // - constants_list_ position where new canonical can be inserted. | 1207 // - constants_list_ position where new canonical can be inserted. |
1205 RawDouble* LookupCanonicalDouble(Zone* zone, | 1208 RawDouble* LookupCanonicalDouble(Zone* zone, |
1206 double value, intptr_t* index) const; | 1209 double value, intptr_t* index) const; |
1207 RawMint* LookupCanonicalMint(Zone* zone, | 1210 RawMint* LookupCanonicalMint(Zone* zone, |
(...skipping 7230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8438 | 8441 |
8439 | 8442 |
8440 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 8443 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
8441 intptr_t index) { | 8444 intptr_t index) { |
8442 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 8445 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
8443 } | 8446 } |
8444 | 8447 |
8445 } // namespace dart | 8448 } // namespace dart |
8446 | 8449 |
8447 #endif // VM_OBJECT_H_ | 8450 #endif // VM_OBJECT_H_ |
OLD | NEW |