| Index: runtime/vm/intermediate_language_arm.cc
|
| diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc
|
| index 2e314d00bc897cca7d1385aba13528f7477bf53a..64e9394258e2281a8bdb0ed48fcbcc70ef21167c 100644
|
| --- a/runtime/vm/intermediate_language_arm.cc
|
| +++ b/runtime/vm/intermediate_language_arm.cc
|
| @@ -1926,7 +1926,7 @@ class StoreInstanceFieldSlowPath : public SlowPathCode {
|
| const ExternalLabel label(stub.EntryPoint());
|
|
|
| LocationSummary* locs = instruction_->locs();
|
| - locs->live_registers()->Remove(locs->out(0));
|
| + locs->live_registers()->Remove(locs->temp(0));
|
|
|
| compiler->SaveLiveRegisters(locs);
|
| compiler->GenerateCall(Scanner::kNoSourcePos, // No token position.
|
| @@ -2400,7 +2400,7 @@ class BoxDoubleSlowPath : public SlowPathCode {
|
| const ExternalLabel label(stub.EntryPoint());
|
|
|
| LocationSummary* locs = instruction_->locs();
|
| - locs->live_registers()->Remove(locs->out(0));
|
| + ASSERT(!locs->live_registers()->Contains(locs->out(0)));
|
|
|
| compiler->SaveLiveRegisters(locs);
|
| compiler->GenerateCall(Scanner::kNoSourcePos, // No token position.
|
| @@ -2432,7 +2432,7 @@ class BoxFloat32x4SlowPath : public SlowPathCode {
|
| const ExternalLabel label(stub.EntryPoint());
|
|
|
| LocationSummary* locs = instruction_->locs();
|
| - locs->live_registers()->Remove(locs->out(0));
|
| + ASSERT(!locs->live_registers()->Contains(locs->out(0)));
|
|
|
| compiler->SaveLiveRegisters(locs);
|
| compiler->GenerateCall(Scanner::kNoSourcePos, // No token position.
|
| @@ -2464,7 +2464,7 @@ class BoxFloat64x2SlowPath : public SlowPathCode {
|
| const ExternalLabel label(stub.EntryPoint());
|
|
|
| LocationSummary* locs = instruction_->locs();
|
| - locs->live_registers()->Remove(locs->out(0));
|
| + ASSERT(!locs->live_registers()->Contains(locs->out(0)));
|
|
|
| compiler->SaveLiveRegisters(locs);
|
| compiler->GenerateCall(Scanner::kNoSourcePos, // No token position.
|
| @@ -3700,7 +3700,7 @@ class BoxInt32x4SlowPath : public SlowPathCode {
|
| const ExternalLabel label(stub.EntryPoint());
|
|
|
| LocationSummary* locs = instruction_->locs();
|
| - locs->live_registers()->Remove(locs->out(0));
|
| + ASSERT(!locs->live_registers()->Contains(locs->out(0)));
|
|
|
| compiler->SaveLiveRegisters(locs);
|
| compiler->GenerateCall(Scanner::kNoSourcePos, // No token position.
|
| @@ -5920,7 +5920,7 @@ class BoxIntegerSlowPath : public SlowPathCode {
|
| const ExternalLabel label(stub.EntryPoint());
|
|
|
| LocationSummary* locs = instruction_->locs();
|
| - locs->live_registers()->Remove(locs->out(0));
|
| + ASSERT(!locs->live_registers()->Contains(locs->out(0)));
|
|
|
| compiler->SaveLiveRegisters(locs);
|
| compiler->GenerateCall(Scanner::kNoSourcePos, // No token position.
|
|
|