Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index 40df777c8c7fa4075de37b973e93211c89ad04c9..e518662d071fff60837c2925f0fa3bea7020fb74 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -1723,8 +1723,8 @@ bool RegExpNode::EmitQuickCheck(RegExpCompiler* compiler, |
GetQuickCheckDetails(details, compiler, 0, trace->at_start() == Trace::FALSE); |
if (details->cannot_match()) return false; |
if (!details->Rationalize(compiler->ascii())) return false; |
- if (details->characters() > 1 && |
- !compiler->macro_assembler()->CanReadUnaligned()) return false; |
+ ASSERT(details->characters() == 1 || |
+ compiler->macro_assembler()->CanReadUnaligned()); |
uint32_t mask = details->mask(); |
uint32_t value = details->value(); |