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 RUNTIME_VM_SIMULATOR_DBC_H_ | 5 #ifndef RUNTIME_VM_SIMULATOR_DBC_H_ |
6 #define RUNTIME_VM_SIMULATOR_DBC_H_ | 6 #define RUNTIME_VM_SIMULATOR_DBC_H_ |
7 | 7 |
8 #ifndef RUNTIME_VM_SIMULATOR_H_ | 8 #ifndef RUNTIME_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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 uword target); | 116 uword target); |
117 | 117 |
118 void Invoke(Thread* thread, | 118 void Invoke(Thread* thread, |
119 RawObject** call_base, | 119 RawObject** call_base, |
120 RawObject** call_top, | 120 RawObject** call_top, |
121 RawObjectPool** pp, | 121 RawObjectPool** pp, |
122 uint32_t** pc, | 122 uint32_t** pc, |
123 RawObject*** FP, | 123 RawObject*** FP, |
124 RawObject*** SP); | 124 RawObject*** SP); |
125 | 125 |
| 126 bool Deoptimize(Thread* thread, |
| 127 RawObjectPool** pp, |
| 128 uint32_t** pc, |
| 129 RawObject*** FP, |
| 130 RawObject*** SP, |
| 131 bool is_lazy); |
| 132 |
126 void InlineCacheMiss(int checked_args, | 133 void InlineCacheMiss(int checked_args, |
127 Thread* thread, | 134 Thread* thread, |
128 RawICData* icdata, | 135 RawICData* icdata, |
129 RawObject** call_base, | 136 RawObject** call_base, |
130 RawObject** top, | 137 RawObject** top, |
131 uint32_t* pc, | 138 uint32_t* pc, |
132 RawObject** FP, | 139 RawObject** FP, |
133 RawObject** SP); | 140 RawObject** SP); |
134 | 141 |
135 void InstanceCall1(Thread* thread, | 142 void InstanceCall1(Thread* thread, |
(...skipping 24 matching lines...) Expand all Loading... |
160 last_setjmp_buffer_ = buffer; | 167 last_setjmp_buffer_ = buffer; |
161 } | 168 } |
162 | 169 |
163 friend class SimulatorSetjmpBuffer; | 170 friend class SimulatorSetjmpBuffer; |
164 DISALLOW_COPY_AND_ASSIGN(Simulator); | 171 DISALLOW_COPY_AND_ASSIGN(Simulator); |
165 }; | 172 }; |
166 | 173 |
167 } // namespace dart | 174 } // namespace dart |
168 | 175 |
169 #endif // RUNTIME_VM_SIMULATOR_DBC_H_ | 176 #endif // RUNTIME_VM_SIMULATOR_DBC_H_ |
OLD | NEW |