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

Unified Diff: runtime/vm/token.h

Issue 10440082: Fix a bug in ia32 shift left , implemented more inlined binary operations in x64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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 | « runtime/vm/opt_code_generator_ia32.cc ('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
===================================================================
--- runtime/vm/token.h (revision 8116)
+++ runtime/vm/token.h (working copy)
@@ -178,6 +178,8 @@
KW(kWHILE, "while", 0, kKeyword) /* == kLastKeyword */
+class String;
+
class Token {
public:
#define T(t, s, p, a) t,
@@ -266,6 +268,9 @@
(tok == Token::kDOUBLE));
}
+ // Returns kILLEGAL if 'name' does not match a BinaryOp.
+ static Token::Kind GetBinaryOp(const String& name);
+
private:
static const char* name_[];
static const char* tok_str_[];
« no previous file with comments | « runtime/vm/opt_code_generator_ia32.cc ('k') | runtime/vm/token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698