| Index: runtime/vm/intermediate_language_arm.cc
|
| diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc
|
| index cdb5117332937b88f38ece06b425befcc88d0ce8..7784674294af8112e0554add9c2e584397cfcbd1 100644
|
| --- a/runtime/vm/intermediate_language_arm.cc
|
| +++ b/runtime/vm/intermediate_language_arm.cc
|
| @@ -6932,6 +6932,34 @@ void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| #endif
|
| }
|
|
|
| +
|
| +LocationSummary* GrowTypedDataInstr::MakeLocationSummary(
|
| + Zone* zone, bool opt) const {
|
| + const intptr_t kNumInputs = 1;
|
| + const intptr_t kNumTemps = 0;
|
| + LocationSummary* locs = new(zone) LocationSummary(
|
| + zone, kNumInputs, kNumTemps, LocationSummary::kCall);
|
| + locs->set_in(0, Location::RegisterLocation(R0));
|
| + locs->set_out(0, Location::RegisterLocation(R0));
|
| + return locs;
|
| +}
|
| +
|
| +
|
| +void GrowTypedDataInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + const Register typed_data = locs()->in(0).reg();
|
| + const Register result = locs()->out(0).reg();
|
| + __ PushObject(Object::null_object());
|
| + __ Push(typed_data);
|
| + compiler->GenerateRuntimeCall(Scanner::kNoSourcePos, // No token position.
|
| + deopt_id(),
|
| + kGrowTypedDataRuntimeEntry,
|
| + 1,
|
| + locs());
|
| + __ Drop(1);
|
| + __ Pop(result);
|
| +}
|
| +
|
| +
|
| } // namespace dart
|
|
|
| #endif // defined TARGET_ARCH_ARM
|
|
|