| Index: runtime/vm/assembler_arm.cc
|
| ===================================================================
|
| --- runtime/vm/assembler_arm.cc (revision 45360)
|
| +++ runtime/vm/assembler_arm.cc (working copy)
|
| @@ -1470,14 +1470,6 @@
|
| }
|
|
|
|
|
| -void Assembler::svc(uint32_t imm24, Condition cond) {
|
| - ASSERT(cond != kNoCondition);
|
| - ASSERT(imm24 < (1 << 24));
|
| - int32_t encoding = (cond << kConditionShift) | B27 | B26 | B25 | B24 | imm24;
|
| - Emit(encoding);
|
| -}
|
| -
|
| -
|
| void Assembler::bkpt(uint16_t imm16) {
|
| // bkpt requires that the cond field is AL.
|
| int32_t encoding = (AL << kConditionShift) | B24 | B21 |
|
| @@ -3485,7 +3477,7 @@
|
| b(&stop);
|
| Emit(reinterpret_cast<int32_t>(message));
|
| Bind(&stop);
|
| - svc(kStopMessageSvcCode);
|
| + bkpt(Instr::kStopMessageCode);
|
| }
|
|
|
|
|
|
|