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

Unified Diff: vm/object.cc

Issue 10855052: Don't call IdentifierPrettyName with signature classes. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.cc
===================================================================
--- vm/object.cc (revision 10413)
+++ vm/object.cc (working copy)
@@ -1215,8 +1215,12 @@
case kExternalFloat64Array:
return Symbols::New("Float64List");
default:
- const String& name = String::Handle(Name());
- return IdentifierPrettyName(name);
+ if (!IsSignatureClass()) {
+ const String& name = String::Handle(Name());
+ return IdentifierPrettyName(name);
+ } else {
+ return Name();
+ }
}
UNREACHABLE();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698