| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 "vm/assert.h" | 8 #include "vm/assert.h" |
| 9 #include "vm/dart.h" | 9 #include "vm/dart.h" |
| 10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
| (...skipping 1777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1788 return raw_ptr()->pc_descriptors_; | 1788 return raw_ptr()->pc_descriptors_; |
| 1789 } | 1789 } |
| 1790 void set_pc_descriptors(const PcDescriptors& descriptors) const { | 1790 void set_pc_descriptors(const PcDescriptors& descriptors) const { |
| 1791 StorePointer(&raw_ptr()->pc_descriptors_, descriptors.raw()); | 1791 StorePointer(&raw_ptr()->pc_descriptors_, descriptors.raw()); |
| 1792 } | 1792 } |
| 1793 | 1793 |
| 1794 // See class ICData for interpretation of the 'ic_data_' array. | 1794 // See class ICData for interpretation of the 'ic_data_' array. |
| 1795 RawArray* ic_data() const; | 1795 RawArray* ic_data() const; |
| 1796 void set_ic_data(const Array& ic_data) const; | 1796 void set_ic_data(const Array& ic_data) const; |
| 1797 | 1797 |
| 1798 // Array of pairs (Array<Class>, IC Stub Code). | |
| 1799 RawArray* class_ic_stubs() const; | |
| 1800 void set_class_ic_stubs(const Array& class_ic_stubs) const; | |
| 1801 | |
| 1802 RawExceptionHandlers* exception_handlers() const { | 1798 RawExceptionHandlers* exception_handlers() const { |
| 1803 return raw_ptr()->exception_handlers_; | 1799 return raw_ptr()->exception_handlers_; |
| 1804 } | 1800 } |
| 1805 void set_exception_handlers(const ExceptionHandlers& handlers) const { | 1801 void set_exception_handlers(const ExceptionHandlers& handlers) const { |
| 1806 StorePointer(&raw_ptr()->exception_handlers_, handlers.raw()); | 1802 StorePointer(&raw_ptr()->exception_handlers_, handlers.raw()); |
| 1807 } | 1803 } |
| 1808 | 1804 |
| 1809 RawFunction* function() const { | 1805 RawFunction* function() const { |
| 1810 return raw_ptr()->function_; | 1806 return raw_ptr()->function_; |
| 1811 } | 1807 } |
| (...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2960 } | 2956 } |
| 2961 | 2957 |
| 2962 | 2958 |
| 2963 void Context::SetAt(intptr_t index, const Instance& value) const { | 2959 void Context::SetAt(intptr_t index, const Instance& value) const { |
| 2964 StorePointer(InstanceAddr(index), value.raw()); | 2960 StorePointer(InstanceAddr(index), value.raw()); |
| 2965 } | 2961 } |
| 2966 | 2962 |
| 2967 } // namespace dart | 2963 } // namespace dart |
| 2968 | 2964 |
| 2969 #endif // VM_OBJECT_H_ | 2965 #endif // VM_OBJECT_H_ |
| OLD | NEW |