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