Commit 9fc31e1f authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Fix last-minute thinko that I snuck into the last change.

It busted crypto-decrypt.
Review URL: http://codereview.chromium.org/2434005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b6009051
......@@ -869,10 +869,10 @@ void CodeGenerator::GenericBinaryOperation(Token::Value op,
Register smi_test_reg;
Condition cond;
if (!rhs_is_smi || !lhs_is_smi) {
if (!rhs_is_smi) {
smi_test_reg = rhs;
} else if (!lhs_is_smi) {
if (rhs_is_smi) {
smi_test_reg = lhs;
} else if (lhs_is_smi) {
smi_test_reg = rhs;
} else {
smi_test_reg = VirtualFrame::scratch0();
__ orr(smi_test_reg, rhs, Operand(lhs));
......
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