Index: src/ia32/regexp-macro-assembler-ia32.cc |
diff --git a/src/ia32/regexp-macro-assembler-ia32.cc b/src/ia32/regexp-macro-assembler-ia32.cc |
index 067f8c875b0d0913c19cafc47aecf4755bf2c491..bb65ba81d2f2e67adac5ce28a4822f9bbe92650f 100644 |
--- a/src/ia32/regexp-macro-assembler-ia32.cc |
+++ b/src/ia32/regexp-macro-assembler-ia32.cc |
@@ -971,9 +971,9 @@ void RegExpMacroAssemblerIA32::ReadStackPointerFromRegister(int reg) { |
} |
void RegExpMacroAssemblerIA32::SetCurrentPositionFromEnd(int by) { |
- NearLabel after_position; |
+ Label after_position; |
__ cmp(edi, -by * char_size()); |
- __ j(greater_equal, &after_position); |
+ __ j(greater_equal, &after_position, Label::kNear); |
__ mov(edi, -by * char_size()); |
// On RegExp code entry (where this operation is used), the character before |
// the current position is expected to be already loaded. |