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 d4ccb0e019c2bc1a6ab116032adf982e0d643914..d39fc9ffdd4c246d5aec059e1f15bba8191999b2 100644 |
--- a/src/x64/regexp-macro-assembler-x64.cc |
+++ b/src/x64/regexp-macro-assembler-x64.cc |
@@ -1065,9 +1065,9 @@ void RegExpMacroAssemblerX64::ReadStackPointerFromRegister(int reg) { |
void RegExpMacroAssemblerX64::SetCurrentPositionFromEnd(int by) { |
- NearLabel after_position; |
+ Label after_position; |
__ cmpq(rdi, Immediate(-by * char_size())); |
- __ j(greater_equal, &after_position); |
+ __ j(greater_equal, &after_position, Label::kNear); |
__ movq(rdi, Immediate(-by * char_size())); |
// On RegExp code entry (where this operation is used), the character before |
// the current position is expected to be already loaded. |