Commit 78ec5863 authored by lrn@chromium.org's avatar lrn@chromium.org

RegExp: Small bugfix in debug mode.


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1219 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ee7c5dd6
......@@ -1507,12 +1507,7 @@ void Trace::PerformDeferredActions(RegExpMacroAssembler* assembler,
void Trace::Flush(RegExpCompiler* compiler, RegExpNode* successor) {
RegExpMacroAssembler* assembler = compiler->macro_assembler();
ASSERT(actions_ != NULL ||
cp_offset_ != 0 ||
backtrack() != NULL ||
characters_preloaded_ != 0 ||
quick_check_performed_.characters() != 0 ||
bound_checked_up_to_ != 0);
ASSERT(!is_trivial());
if (actions_ == NULL && backtrack() == NULL) {
// Here we just have some deferred cp advances to fix and we are back to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment