Commit 5d164e4c authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

MIPS: Implement CheckNotCharacterAfterMinusAnd. This is a commit of...

MIPS: Implement CheckNotCharacterAfterMinusAnd.  This is a commit of http://codereview.chromium.org/9721011/ for Daniel Kalmar

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11314 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0803c4df
......@@ -480,7 +480,10 @@ void RegExpMacroAssemblerMIPS::CheckNotCharacterAfterMinusAnd(
uc16 minus,
uc16 mask,
Label* on_not_equal) {
UNIMPLEMENTED_MIPS();
ASSERT(minus < String::kMaxUtf16CodeUnit);
__ Subu(a0, current_character(), Operand(minus));
__ And(a0, a0, Operand(mask));
BranchOrBacktrack(on_not_equal, ne, a0, Operand(c));
}
......
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