Add the unary operators ADD and SUB to the code generator selector.

Review URL: http://codereview.chromium.org/548069

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3658 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
kmillikin@chromium.org 2010-01-20 09:55:32 +00:00
parent 7baf8bdee6
commit 453d0a136b

View File

@ -931,11 +931,15 @@ void CodeGenSelector::VisitUnaryOperation(UnaryOperation* expr) {
Visit(expr->expression());
break;
case Token::BIT_NOT:
BAILOUT("UnaryOperataion: BIT_NOT");
BAILOUT("UnaryOperation: BIT_NOT");
case Token::DELETE:
BAILOUT("UnaryOperataion: DELETE");
BAILOUT("UnaryOperation: DELETE");
case Token::ADD:
BAILOUT("UnaryOperation: ADD");
case Token::SUB:
BAILOUT("UnaryOperation: SUB");
default:
BAILOUT("UnaryOperataion");
UNREACHABLE();
}
}