Index: src/x64/regexp-macro-assembler-x64.cc |
=================================================================== |
--- src/x64/regexp-macro-assembler-x64.cc (revision 10944) |
+++ src/x64/regexp-macro-assembler-x64.cc (working copy) |
@@ -564,7 +564,7 @@ |
uc16 minus, |
uc16 mask, |
Label* on_not_equal) { |
- ASSERT(minus < String::kMaxUC16CharCode); |
+ ASSERT(minus < String::kMaxUtf16CodeUnit); |
__ lea(rax, Operand(current_character(), -minus)); |
__ and_(rax, Immediate(mask)); |
__ cmpl(rax, Immediate(c)); |