| Index: runtime/vm/intermediate_language_x64.cc
|
| diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc
|
| index 12cf13e5b87cbc8bc43104ebbed27cd773b3d21a..17da6f316444786e7deb56072f5090f2134c86b4 100644
|
| --- a/runtime/vm/intermediate_language_x64.cc
|
| +++ b/runtime/vm/intermediate_language_x64.cc
|
| @@ -821,7 +821,7 @@ void AllocateObjectWithBoundsCheckComp::EmitNativeCode(
|
|
|
|
|
| LocationSummary* LoadVMFieldComp::MakeLocationSummary() const {
|
| - return LocationSummary::Make(1, Location::RequiresRegister());
|
| + return LocationSummary::Make(1, Location::SameAsFirstInput());
|
| }
|
|
|
|
|
| @@ -885,10 +885,8 @@ void InstantiateTypeArgumentsComp::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| // TypeArguments).
|
| __ CompareClassId(instantiator_reg, kTypeArguments);
|
| __ j(NOT_EQUAL, &type_arguments_uninstantiated, Assembler::kNearJump);
|
| - Immediate arguments_length =
|
| - Immediate(Smi::RawValue(type_arguments().Length()));
|
| __ cmpq(FieldAddress(instantiator_reg, TypeArguments::length_offset()),
|
| - arguments_length);
|
| + Immediate(Smi::RawValue(len)));
|
| __ j(EQUAL, &type_arguments_instantiated, Assembler::kNearJump);
|
| __ Bind(&type_arguments_uninstantiated);
|
| }
|
|
|