Index: runtime/vm/intermediate_language_arm64.cc |
diff --git a/runtime/vm/intermediate_language_arm64.cc b/runtime/vm/intermediate_language_arm64.cc |
index 7f85d09ff3ee53d8f1fc77c552c9a6831600ba6c..05ce132c0409ca41b47e6198b720a5863355f5a1 100644 |
--- a/runtime/vm/intermediate_language_arm64.cc |
+++ b/runtime/vm/intermediate_language_arm64.cc |
@@ -333,13 +333,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; |
} |
@@ -1995,13 +1994,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; |
} |
@@ -2009,8 +2007,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(), |