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