Index: compiler/java/com/google/dart/compiler/backend/js/DartMangler.java |
diff --git a/compiler/java/com/google/dart/compiler/backend/js/DartMangler.java b/compiler/java/com/google/dart/compiler/backend/js/DartMangler.java |
index d381a01b1389c5b83f02d94763d576812a3e0971..3848cd9fa32088f4f601478fffa807d64a5136d9 100644 |
--- a/compiler/java/com/google/dart/compiler/backend/js/DartMangler.java |
+++ b/compiler/java/com/google/dart/compiler/backend/js/DartMangler.java |
@@ -104,6 +104,13 @@ public interface DartMangler { |
public String mangleNamedMethod(String methodName, LibraryElement currentLibrary); |
/** |
+ * Mangles the given method to its _$lookupRTT form. |
+ * @return a String that identifies the named form of the member. |
+ */ |
+ public String mangleRttLookupMethod(MethodElement method, LibraryElement currentLibrary); |
+ public String mangleRttLookupMethod(String methodName, LibraryElement currentLibrary); |
+ |
+ /** |
* Mangles the given method, so that it does not clash with any built-in JS property or other |
* mangled fields or methods. This method is different than mangleMethod, as it returns |
* the fully qualified mangled name. |