| Index: runtime/vm/simulator_dbc.cc
|
| diff --git a/runtime/vm/simulator_dbc.cc b/runtime/vm/simulator_dbc.cc
|
| index 7329114a00f6fe899e2b76a7f240d0ef8362ae50..8ece205725f2b46223e623b1c5ac10b1b2334e1b 100644
|
| --- a/runtime/vm/simulator_dbc.cc
|
| +++ b/runtime/vm/simulator_dbc.cc
|
| @@ -1778,6 +1778,21 @@ RawObject* Simulator::Call(const Code& code,
|
| }
|
|
|
| {
|
| + BYTECODE(LoadClassId, A_D);
|
| + const uint16_t object_reg = rD;
|
| + RawObject* obj = static_cast<RawObject*>(FP[object_reg]);
|
| + FP[rA] = SimulatorHelpers::GetClassIdAsSmi(obj);
|
| + DISPATCH();
|
| + }
|
| +
|
| + {
|
| + BYTECODE(LoadClassIdTOS, 0);
|
| + RawObject* obj = static_cast<RawObject*>(SP[0]);
|
| + SP[0] = SimulatorHelpers::GetClassIdAsSmi(obj);
|
| + DISPATCH();
|
| + }
|
| +
|
| + {
|
| BYTECODE(StoreIndexedTOS, 0);
|
| SP -= 3;
|
| RawArray* array = static_cast<RawArray*>(SP[1]);
|
|
|