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

Unified Diff: runtime/vm/symbols.h

Issue 11644038: Fix latin1 character predefinition in the symbol table. The code (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « no previous file | runtime/vm/symbols.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/symbols.h
===================================================================
--- runtime/vm/symbols.h (revision 16352)
+++ runtime/vm/symbols.h (working copy)
@@ -16,8 +16,6 @@
#define PREDEFINED_SYMBOLS_LIST(V) \
V(Empty, "") \
- V(Dot, ".") \
- V(Equals, "=") \
V(EqualOperator, "==") \
V(Identical, "identical") \
V(Length, "length") \
@@ -177,6 +175,8 @@
static RawString* symbol() { return predefined_[k##symbol]; }
PREDEFINED_SYMBOLS_LIST(DEFINE_SYMBOL_ACCESSOR)
#undef DEFINE_SYMBOL_ACCESSOR
+ static RawString* Dot() { return predefined_[kNullCharId + '.']; }
+ static RawString* Equals() { return predefined_[kNullCharId + '=']; }
// Access methods for symbol handles stored in the vm isolate.
#define DEFINE_SYMBOL_HANDLE_ACCESSOR(symbol) \
« no previous file with comments | « no previous file | runtime/vm/symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698