| 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 f9914221af0efbf6645b9ac00b16e55961c5040d..55fabc00364491618fc1c594e59ee99566b35a5f 100644
|
| --- a/src/x64/regexp-macro-assembler-x64.cc
|
| +++ b/src/x64/regexp-macro-assembler-x64.cc
|
| @@ -193,7 +193,7 @@ void RegExpMacroAssemblerX64::CheckCharacterGT(uc16 limit, Label* on_greater) {
|
| void RegExpMacroAssemblerX64::CheckAtStart(Label* on_at_start) {
|
| Label not_at_start;
|
| // Did we start the match at the start of the string at all?
|
| - __ cmpb(Operand(rbp, kStartIndex), Immediate(0));
|
| + __ cmpl(Operand(rbp, kStartIndex), Immediate(0));
|
| BranchOrBacktrack(not_equal, ¬_at_start);
|
| // If we did, are we still at the start of the input?
|
| __ lea(rax, Operand(rsi, rdi, times_1, 0));
|
| @@ -205,7 +205,7 @@ void RegExpMacroAssemblerX64::CheckAtStart(Label* on_at_start) {
|
|
|
| void RegExpMacroAssemblerX64::CheckNotAtStart(Label* on_not_at_start) {
|
| // Did we start the match at the start of the string at all?
|
| - __ cmpb(Operand(rbp, kStartIndex), Immediate(0));
|
| + __ cmpl(Operand(rbp, kStartIndex), Immediate(0));
|
| BranchOrBacktrack(not_equal, on_not_at_start);
|
| // If we did, are we still at the start of the input?
|
| __ lea(rax, Operand(rsi, rdi, times_1, 0));
|
|
|