| 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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 void AddFunction(const Function& function) const; | 746 void AddFunction(const Function& function) const; |
| 747 | 747 |
| 748 void AddClosureFunction(const Function& function) const; | 748 void AddClosureFunction(const Function& function) const; |
| 749 RawFunction* LookupClosureFunction(intptr_t token_pos) const; | 749 RawFunction* LookupClosureFunction(intptr_t token_pos) const; |
| 750 | 750 |
| 751 RawFunction* LookupDynamicFunction(const String& name) const; | 751 RawFunction* LookupDynamicFunction(const String& name) const; |
| 752 RawFunction* LookupDynamicFunctionAllowPrivate(const String& name) const; | 752 RawFunction* LookupDynamicFunctionAllowPrivate(const String& name) const; |
| 753 RawFunction* LookupStaticFunction(const String& name) const; | 753 RawFunction* LookupStaticFunction(const String& name) const; |
| 754 RawFunction* LookupStaticFunctionAllowPrivate(const String& name) const; | 754 RawFunction* LookupStaticFunctionAllowPrivate(const String& name) const; |
| 755 RawFunction* LookupConstructor(const String& name) const; | 755 RawFunction* LookupConstructor(const String& name) const; |
| 756 RawFunction* LookupConstructorAllowPrivate(const String& name) const; |
| 756 RawFunction* LookupFactory(const String& name) const; | 757 RawFunction* LookupFactory(const String& name) const; |
| 757 RawFunction* LookupFunction(const String& name) const; | 758 RawFunction* LookupFunction(const String& name) const; |
| 758 RawFunction* LookupFunctionAllowPrivate(const String& name) const; | 759 RawFunction* LookupFunctionAllowPrivate(const String& name) const; |
| 759 RawFunction* LookupGetterFunction(const String& name) const; | 760 RawFunction* LookupGetterFunction(const String& name) const; |
| 760 RawFunction* LookupSetterFunction(const String& name) const; | 761 RawFunction* LookupSetterFunction(const String& name) const; |
| 761 RawFunction* LookupFunctionAtToken(intptr_t token_pos) const; | 762 RawFunction* LookupFunctionAtToken(intptr_t token_pos) const; |
| 762 RawField* LookupInstanceField(const String& name) const; | 763 RawField* LookupInstanceField(const String& name) const; |
| 763 RawField* LookupStaticField(const String& name) const; | 764 RawField* LookupStaticField(const String& name) const; |
| 764 RawField* LookupField(const String& name) const; | 765 RawField* LookupField(const String& name) const; |
| 765 | 766 |
| (...skipping 5597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6363 | 6364 |
| 6364 | 6365 |
| 6365 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 6366 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 6366 intptr_t index) { | 6367 intptr_t index) { |
| 6367 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 6368 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 6368 } | 6369 } |
| 6369 | 6370 |
| 6370 } // namespace dart | 6371 } // namespace dart |
| 6371 | 6372 |
| 6372 #endif // VM_OBJECT_H_ | 6373 #endif // VM_OBJECT_H_ |
| OLD | NEW |