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

Unified Diff: runtime/vm/token.h

Issue 735543003: Range feedback for binary integer operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years 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 | « runtime/vm/symbols.h ('k') | runtime/vm/token.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/token.h
diff --git a/runtime/vm/token.h b/runtime/vm/token.h
index f633894cac2d4aa77a60d5dd31f50c78e7645617..d22a6c0eee8a91f3f0cf66f95bafdb08024eeb21 100644
--- a/runtime/vm/token.h
+++ b/runtime/vm/token.h
@@ -291,7 +291,10 @@ class Token {
}
static bool IsBinaryOperator(Token::Kind token);
- static bool IsPrefixOperator(Token::Kind token);
+ static bool IsUnaryOperator(Token::Kind token);
+
+ static bool IsBinaryArithmeticOperator(Token::Kind token);
+ static bool IsUnaryArithmeticOperator(Token::Kind token);
// For a comparison operation return an operation for the negated comparison:
// !(a (op) b) === a (op') b
« no previous file with comments | « runtime/vm/symbols.h ('k') | runtime/vm/token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698