Index: src/regexp-macro-assembler.cc |
diff --git a/src/regexp-macro-assembler.cc b/src/regexp-macro-assembler.cc |
index 82ba34d5c828d61b08fca838c40ffc85c4ab067a..2ce5cfb12af41ba5d7426d6d08abf42ccdfd8dd9 100644 |
--- a/src/regexp-macro-assembler.cc |
+++ b/src/regexp-macro-assembler.cc |
@@ -83,8 +83,8 @@ const byte* NativeRegExpMacroAssembler::StringCharacterPosition( |
const char* data = ExternalAsciiString::cast(subject)->GetChars(); |
address = reinterpret_cast<const byte*>(data); |
} else { |
- ASSERT(subject->IsSeqAsciiString()); |
- char* data = SeqAsciiString::cast(subject)->GetChars(); |
+ ASSERT(subject->IsSeqOneByteString()); |
+ char* data = SeqOneByteString::cast(subject)->GetChars(); |
address = reinterpret_cast<const byte*>(data); |
} |
return address + start_index; |