| Index: runtime/vm/intermediate_language_arm.cc
|
| diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc
|
| index 26fc2ce5d4bf45b76b514541e6b0680a3ceaaec6..40cddcfaae0747fab48c879073e091f82ebfe93f 100644
|
| --- a/runtime/vm/intermediate_language_arm.cc
|
| +++ b/runtime/vm/intermediate_language_arm.cc
|
| @@ -6938,6 +6938,34 @@ void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| #endif
|
| }
|
|
|
| +
|
| +LocationSummary* GrowRegExpStackInstr::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 GrowRegExpStackInstr::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(),
|
| + kGrowRegExpStackRuntimeEntry,
|
| + 1,
|
| + locs());
|
| + __ Drop(1);
|
| + __ Pop(result);
|
| +}
|
| +
|
| +
|
| } // namespace dart
|
|
|
| #endif // defined TARGET_ARCH_ARM
|
|
|