| Index: src/x64/regexp-macro-assembler-x64.cc
|
| diff --git a/src/x64/regexp-macro-assembler-x64.cc b/src/x64/regexp-macro-assembler-x64.cc
|
| index 963d80ebdacae8577c8395e6388b647202c64879..5d17a2d2af3ea7929f5e3ec7e1a3e2e69b80a4fe 100644
|
| --- a/src/x64/regexp-macro-assembler-x64.cc
|
| +++ b/src/x64/regexp-macro-assembler-x64.cc
|
| @@ -612,7 +612,7 @@ Handle<Object> RegExpMacroAssemblerX64::GetCode(Handle<String> source) {
|
| // MSVC passes arguments in rcx, rdx, r8, r9, with backing stack slots.
|
| // Store register parameters in pre-allocated stack slots,
|
| __ movq(Operand(rbp, kInputString), rcx);
|
| - __ movzxlq(Operand(rbp, kStartIndex), rdx); // Passed as int in eax.
|
| + __ movq(Operand(rbp, kStartIndex), rdx); // Passed as int32 in edx.
|
| __ movq(Operand(rbp, kInputStart), r8);
|
| __ movq(Operand(rbp, kInputEnd), r9);
|
| // Callee-save on Win64.
|
|
|