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
This commit is contained in:
parent
b600905133
commit
9fc31e1fed
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user