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:
parent
7baf8bdee6
commit
453d0a136b
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user