Index: runtime/vm/intermediate_language_arm.cc |
diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc |
index 8d6e6c152e347dac455c99933c810b6ceacd06c5..9120195ffdee0154c7a9776b4290b32500fabcf6 100644 |
--- a/runtime/vm/intermediate_language_arm.cc |
+++ b/runtime/vm/intermediate_language_arm.cc |
@@ -345,13 +345,12 @@ void UnboxedConstantInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
LocationSummary* AssertAssignableInstr::MakeLocationSummary(Zone* zone, |
bool opt) const { |
- const intptr_t kNumInputs = 3; |
+ const intptr_t kNumInputs = 2; |
const intptr_t kNumTemps = 0; |
LocationSummary* summary = new(zone) LocationSummary( |
zone, kNumInputs, kNumTemps, LocationSummary::kCall); |
summary->set_in(0, Location::RegisterLocation(R0)); // Value. |
- summary->set_in(1, Location::RegisterLocation(R2)); // Instantiator. |
- summary->set_in(2, Location::RegisterLocation(R1)); // Type arguments. |
+ summary->set_in(1, Location::RegisterLocation(R1)); // Type arguments. |
summary->set_out(0, Location::RegisterLocation(R0)); |
return summary; |
} |
@@ -2275,13 +2274,12 @@ void StoreStaticFieldInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
LocationSummary* InstanceOfInstr::MakeLocationSummary(Zone* zone, |
bool opt) const { |
- const intptr_t kNumInputs = 3; |
+ const intptr_t kNumInputs = 2; |
const intptr_t kNumTemps = 0; |
LocationSummary* summary = new(zone) LocationSummary( |
zone, kNumInputs, kNumTemps, LocationSummary::kCall); |
summary->set_in(0, Location::RegisterLocation(R0)); |
- summary->set_in(1, Location::RegisterLocation(R2)); |
- summary->set_in(2, Location::RegisterLocation(R1)); |
+ summary->set_in(1, Location::RegisterLocation(R1)); |
summary->set_out(0, Location::RegisterLocation(R0)); |
return summary; |
} |
@@ -2289,8 +2287,7 @@ LocationSummary* InstanceOfInstr::MakeLocationSummary(Zone* zone, |
void InstanceOfInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
ASSERT(locs()->in(0).reg() == R0); // Value. |
- ASSERT(locs()->in(1).reg() == R2); // Instantiator. |
- ASSERT(locs()->in(2).reg() == R1); // Instantiator type arguments. |
+ ASSERT(locs()->in(1).reg() == R1); // Instantiator type arguments. |
compiler->GenerateInstanceOf(token_pos(), |
deopt_id(), |