Index: runtime/vm/symbols.cc |
=================================================================== |
--- runtime/vm/symbols.cc (revision 11663) |
+++ runtime/vm/symbols.cc (working copy) |
@@ -28,6 +28,12 @@ |
}; |
+const char* Symbols::Name(intptr_t symbol) { |
hausner
2012/08/31 00:34:55
Why is this needed (or better) than getting the ra
regis
2012/08/31 01:36:18
See the other comment. When we just need a char*,
|
+ ASSERT((symbol > kIllegal) && (symbol < kMaxId)); |
+ return names[symbol]; |
+} |
+ |
+ |
void Symbols::InitOnce(Isolate* isolate) { |
// Should only be run by the vm isolate. |
ASSERT(isolate == Dart::vm_isolate()); |