Commit 8bbd1be4 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Irregexp (bytecodes) don't forget to update current position

on a no-case successful backref.
Review URL: http://codereview.chromium.org/13615

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@932 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent bf9d0963
......@@ -381,6 +381,7 @@ static bool RawMatch(const byte* code_base,
break;
} else {
if (BackRefMatchesNoCase(from, current, len, subject)) {
current += len;
pc += BC_CHECK_NOT_BACK_REF_NO_CASE_LENGTH;
} else {
pc = code_base + Load32(pc + 2);
......
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