| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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_SIMULATOR_DBC_H_ | 5 #ifndef VM_SIMULATOR_DBC_H_ |
| 6 #define VM_SIMULATOR_DBC_H_ | 6 #define VM_SIMULATOR_DBC_H_ |
| 7 | 7 |
| 8 #ifndef VM_SIMULATOR_H_ | 8 #ifndef VM_SIMULATOR_H_ |
| 9 #error Do not include simulator_dbc.h directly; use simulator.h. | 9 #error Do not include simulator_dbc.h directly; use simulator.h. |
| 10 #endif | 10 #endif |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 void InstanceCall2(Thread* thread, | 150 void InstanceCall2(Thread* thread, |
| 151 RawICData* icdata, | 151 RawICData* icdata, |
| 152 RawObject** call_base, | 152 RawObject** call_base, |
| 153 RawObject** call_top, | 153 RawObject** call_top, |
| 154 RawArray** argdesc, | 154 RawArray** argdesc, |
| 155 RawObjectPool** pp, | 155 RawObjectPool** pp, |
| 156 uint32_t** pc, | 156 uint32_t** pc, |
| 157 RawObject*** B, RawObject*** SP); | 157 RawObject*** B, RawObject*** SP); |
| 158 | 158 |
| 159 void InstanceCall3(Thread* thread, | |
| 160 RawICData* icdata, | |
| 161 RawObject** call_base, | |
| 162 RawObject** call_top, | |
| 163 RawArray** argdesc, | |
| 164 RawObjectPool** pp, | |
| 165 uint32_t** pc, | |
| 166 RawObject*** B, RawObject*** SP); | |
| 167 | |
| 168 // Longjmp support for exceptions. | 159 // Longjmp support for exceptions. |
| 169 SimulatorSetjmpBuffer* last_setjmp_buffer() { | 160 SimulatorSetjmpBuffer* last_setjmp_buffer() { |
| 170 return last_setjmp_buffer_; | 161 return last_setjmp_buffer_; |
| 171 } | 162 } |
| 172 void set_last_setjmp_buffer(SimulatorSetjmpBuffer* buffer) { | 163 void set_last_setjmp_buffer(SimulatorSetjmpBuffer* buffer) { |
| 173 last_setjmp_buffer_ = buffer; | 164 last_setjmp_buffer_ = buffer; |
| 174 } | 165 } |
| 175 | 166 |
| 176 friend class SimulatorSetjmpBuffer; | 167 friend class SimulatorSetjmpBuffer; |
| 177 DISALLOW_COPY_AND_ASSIGN(Simulator); | 168 DISALLOW_COPY_AND_ASSIGN(Simulator); |
| 178 }; | 169 }; |
| 179 | 170 |
| 180 } // namespace dart | 171 } // namespace dart |
| 181 | 172 |
| 182 #endif // VM_SIMULATOR_DBC_H_ | 173 #endif // VM_SIMULATOR_DBC_H_ |
| OLD | NEW |