Index: runtime/lib/mirrors.cc |
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc |
index 7799822b6662d2b2dc319a8bbac59d842c174636..d43569a6ab1bdfe0b7eeb4631bda0b4f2626a5b2 100644 |
--- a/runtime/lib/mirrors.cc |
+++ b/runtime/lib/mirrors.cc |
@@ -896,6 +896,7 @@ DEFINE_NATIVE_ENTRY(Mirrors_makeLocalTypeMirror, 1) { |
return CreateTypeMirror(type); |
} |
+ |
DEFINE_NATIVE_ENTRY(Mirrors_mangleName, 2) { |
GET_NON_NULL_NATIVE_ARGUMENT(String, name, arguments->NativeArgAt(0)); |
GET_NON_NULL_NATIVE_ARGUMENT(MirrorReference, ref, arguments->NativeArgAt(1)); |
@@ -903,18 +904,6 @@ DEFINE_NATIVE_ENTRY(Mirrors_mangleName, 2) { |
return lib.IsPrivate(name) ? lib.PrivateName(name) : name.raw(); |
} |
-DEFINE_NATIVE_ENTRY(Mirrors_unmangleName, 1) { |
- GET_NON_NULL_NATIVE_ARGUMENT(String, name, arguments->NativeArgAt(0)); |
- // It would be nice to unconditionally use IdentifierPrettyName, alas it |
- // cannot cope with the symbols for the names of anonymous mixin applications. |
- if (Library::IsPrivate(name) || |
- Field::IsGetterName(name) || |
- Field::IsSetterName(name)) { |
- return String::IdentifierPrettyName(name); |
- } |
- return name.raw(); |
-} |
- |
DEFINE_NATIVE_ENTRY(MirrorReference_equals, 2) { |
GET_NON_NULL_NATIVE_ARGUMENT(MirrorReference, a, arguments->NativeArgAt(0)); |