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

Unified Diff: runtime/vm/intermediate_language.h

Issue 11199002: Remove built-in identifier 'negate' from VM (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 13693)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -2071,8 +2071,8 @@
ASSERT(function_name.IsZoneHandle());
ASSERT(!arguments->is_empty());
ASSERT(argument_names.IsZoneHandle());
- ASSERT(Token::IsBinaryToken(token_kind) ||
- Token::IsUnaryToken(token_kind) ||
+ ASSERT(Token::IsBinaryOperator(token_kind) ||
+ Token::IsPrefixOperator(token_kind) ||
Token::IsIndexOperator(token_kind) ||
token_kind == Token::kGET ||
token_kind == Token::kSET ||
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/parser.h » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698