| Index: runtime/vm/intrinsifier_arm64.cc
|
| diff --git a/runtime/vm/intrinsifier_arm64.cc b/runtime/vm/intrinsifier_arm64.cc
|
| index a78bae6ddafa41d478e45b164a073b6422f0b4a2..06f623e3b3f8d53bd0d03fbfed28896032cfa2ec 100644
|
| --- a/runtime/vm/intrinsifier_arm64.cc
|
| +++ b/runtime/vm/intrinsifier_arm64.cc
|
| @@ -2284,7 +2284,8 @@ void Intrinsifier::TwoByteString_equality(Assembler* assembler) {
|
| }
|
|
|
|
|
| -void Intrinsifier::RegExp_ExecuteMatch(Assembler* assembler) {
|
| +void Intrinsifier::IntrinsifyRegExpExecuteMatch(Assembler* assembler,
|
| + bool sticky) {
|
| if (FLAG_interpret_irregexp) return;
|
|
|
| static const intptr_t kRegExpParamOffset = 2 * kWordSize;
|
| @@ -2303,7 +2304,8 @@ void Intrinsifier::RegExp_ExecuteMatch(Assembler* assembler) {
|
| __ LoadClassId(R1, R1);
|
| __ AddImmediate(R1, R1, -kOneByteStringCid);
|
| __ add(R1, R2, Operand(R1, LSL, kWordSizeLog2));
|
| - __ ldr(R0, FieldAddress(R1, RegExp::function_offset(kOneByteStringCid)));
|
| + __ ldr(R0,
|
| + FieldAddress(R1, RegExp::function_offset(kOneByteStringCid, sticky)));
|
|
|
| // Registers are now set up for the lazy compile stub. It expects the function
|
| // in R0, the argument descriptor in R4, and IC-Data in R5.
|
|
|