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

Unified Diff: runtime/vm/symbols.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/stub_code_x64.cc ('k') | runtime/vm/token.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/symbols.h
diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h
index 22a4ba962989e77e1423ef37abd109345a35c290..de7c31882bdea357de81d087536e3bb53c023de4 100644
--- a/runtime/vm/symbols.h
+++ b/runtime/vm/symbols.h
@@ -20,6 +20,9 @@ class ObjectPointerVisitor;
V(EqualOperator, "==") \
V(GreaterEqualOperator, ">=") \
V(LessEqualOperator, "<=") \
+ V(LeftShiftOperator, "<<") \
+ V(RightShiftOperator, ">>") \
+ V(TruncDivOperator, "~/") \
V(UnaryMinus, "unary-") \
V(Identical, "identical") \
V(Length, "length") \
@@ -470,6 +473,18 @@ PREDEFINED_SYMBOLS_LIST(DEFINE_SYMBOL_INDEX)
static const String& Semicolon() {
return *(symbol_handles_[kNullCharId + ';']);
}
+ static const String& Star() {
+ return *(symbol_handles_[kNullCharId + '*']);
+ }
+ static const String& Percent() {
+ return *(symbol_handles_[kNullCharId + '%']);
+ }
+ static const String& Caret() {
+ return *(symbol_handles_[kNullCharId + '^']);
+ }
+ static const String& Tilde() {
+ return *(symbol_handles_[kNullCharId + '~']);
+ }
// Access methods for symbol handles stored in the vm isolate.
#define DEFINE_SYMBOL_HANDLE_ACCESSOR(symbol, literal) \
« no previous file with comments | « runtime/vm/stub_code_x64.cc ('k') | runtime/vm/token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698