Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: src/compiler.cc

Issue 548069: Add the unary operators ADD and SUB to the code generator selector. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
===================================================================
--- src/compiler.cc (revision 3645)
+++ src/compiler.cc (working copy)
@@ -881,7 +881,6 @@
BAILOUT("call to a lookup slot");
} else if (fun->AsProperty() != NULL) {
Property* prop = fun->AsProperty();
- Literal* literal_key = prop->key()->AsLiteral();
Visit(prop->obj());
CHECK_BAILOUT;
Visit(prop->key());
@@ -931,10 +930,14 @@
case Token::TYPEOF:
Visit(expr->expression());
break;
- case BIT_NOT:
+ case Token::BIT_NOT:
BAILOUT("UnaryOperataion: BIT_NOT");
fschneider 2010/01/19 19:06:59 Typo here -> "UnaryOperation". As well at the othe
- case DELETE:
+ case Token::DELETE:
BAILOUT("UnaryOperataion: DELETE");
+ case Token::ADD:
+ BAILOUT("UnaryOperataion: ADD");
+ case Token::SUB:
+ BAILOUT("UnaryOperataion: SUB");
default:
UNREACHABLE();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698