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

Unified Diff: runtime/vm/symbols.h

Issue 1136163002: Some more cleanup of the finger print checking code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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/object.cc ('k') | no next file » | 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 45703)
+++ runtime/vm/symbols.h (working copy)
@@ -417,6 +417,11 @@
// Offset of Null character which is the predefined character symbol.
static const int kNullCharCodeSymbolOffset = 0;
+ static const String& Symbol(intptr_t index) {
+ ASSERT((index > kIllegal) && (index < kMaxPredefinedId));
+ return *(symbol_handles_[index]);
+ }
+
// Access methods for one byte character symbols stored in the vm isolate.
static const String& Dot() {
return *(symbol_handles_[kNullCharId + '.']);
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698