MIPS: Add support for Token::NE and Token::NE_STRICT to TokenToCondition.

Port r17239 (c203175f)

Original commit message:
This is required to be able to use these tokens with
HCompareNumericAndBranch.

BUG=
R=plind44@gmail.com

Review URL: https://codereview.chromium.org/27516004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17248 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
palfia@homejinni.com 2013-10-16 23:15:30 +00:00
parent e0508615a9
commit 331850e3eb

View File

@ -2178,6 +2178,10 @@ Condition LCodeGen::TokenToCondition(Token::Value op, bool is_unsigned) {
case Token::EQ_STRICT: case Token::EQ_STRICT:
cond = eq; cond = eq;
break; break;
case Token::NE:
case Token::NE_STRICT:
cond = ne;
break;
case Token::LT: case Token::LT:
cond = is_unsigned ? lo : lt; cond = is_unsigned ? lo : lt;
break; break;