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

Unified Diff: compiler/java/com/google/dart/compiler/backend/js/DartMangler.java

Issue 8845002: Function type checking: Part Deux (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Nits checked Created 9 years 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
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.

Powered by Google App Engine
This is Rietveld 408576698