| Index: runtime/vm/intermediate_language_mips.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_mips.cc (revision 23800)
|
| +++ runtime/vm/intermediate_language_mips.cc (working copy)
|
| @@ -280,8 +280,6 @@
|
|
|
| LocationSummary* EqualityCompareInstr::MakeLocationSummary() const {
|
| const intptr_t kNumInputs = 2;
|
| - const bool is_checked_strict_equal =
|
| - HasICData() && ic_data()->AllTargetsHaveSameOwner(kInstanceCid);
|
| if (receiver_class_id() == kMintCid) {
|
| const intptr_t kNumTemps = 1;
|
| LocationSummary* locs =
|
| @@ -314,7 +312,7 @@
|
| locs->set_out(Location::RequiresRegister());
|
| return locs;
|
| }
|
| - if (is_checked_strict_equal) {
|
| + if (is_checked_strict_equal()) {
|
| const intptr_t kNumTemps = 1;
|
| LocationSummary* locs =
|
| new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall);
|
| @@ -596,9 +594,7 @@
|
| EmitDoubleComparisonOp(compiler, *locs(), kind(), kNoBranch);
|
| return;
|
| }
|
| - const bool is_checked_strict_equal =
|
| - HasICData() && ic_data()->AllTargetsHaveSameOwner(kInstanceCid);
|
| - if (is_checked_strict_equal) {
|
| + if (is_checked_strict_equal()) {
|
| EmitCheckedStrictEqual(compiler, *ic_data(), *locs(), kind(), kNoBranch,
|
| deopt_id());
|
| return;
|
| @@ -639,9 +635,7 @@
|
| EmitDoubleComparisonOp(compiler, *locs(), kind(), branch);
|
| return;
|
| }
|
| - const bool is_checked_strict_equal =
|
| - HasICData() && ic_data()->AllTargetsHaveSameOwner(kInstanceCid);
|
| - if (is_checked_strict_equal) {
|
| + if (is_checked_strict_equal()) {
|
| EmitCheckedStrictEqual(compiler, *ic_data(), *locs(), kind(), branch,
|
| deopt_id());
|
| return;
|
|
|