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 + '.']); |