| Index: runtime/vm/simulator_dbc.cc
|
| diff --git a/runtime/vm/simulator_dbc.cc b/runtime/vm/simulator_dbc.cc
|
| index 5a26b539dea296333fab5916469abdfedf47d68b..8559e6a39a867658bafe584b96838f56613a5ada 100644
|
| --- a/runtime/vm/simulator_dbc.cc
|
| +++ b/runtime/vm/simulator_dbc.cc
|
| @@ -2048,6 +2048,16 @@ RawObject* Simulator::Call(const Code& code,
|
| }
|
|
|
| {
|
| + BYTECODE(TestSmi, A_D);
|
| + intptr_t left = reinterpret_cast<intptr_t>(RAW_CAST(Smi, FP[rA]));
|
| + intptr_t right = reinterpret_cast<intptr_t>(RAW_CAST(Smi, FP[rD]));
|
| + if ((left & right) != 0) {
|
| + pc++;
|
| + }
|
| + DISPATCH();
|
| + }
|
| +
|
| + {
|
| BYTECODE(CheckSmi, 0);
|
| intptr_t obj = reinterpret_cast<intptr_t>(FP[rA]);
|
| if ((obj & kSmiTagMask) == kSmiTag) {
|
|
|