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
parent 7baf8bde
......@@ -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();
}
}
......
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