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

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

Issue 8479049: Allow for instance checking of methods and function aliases. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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..e3062273f67e7a9692e1b5d1dd04b37602fd0abb 100644
--- a/compiler/java/com/google/dart/compiler/backend/js/DartMangler.java
+++ b/compiler/java/com/google/dart/compiler/backend/js/DartMangler.java
@@ -103,6 +103,9 @@ public interface DartMangler {
public String mangleNamedMethod(MethodElement method, LibraryElement currentLibrary);
public String mangleNamedMethod(String methodName, LibraryElement currentLibrary);
+ public String mangleLookupMethod(MethodElement method, LibraryElement currentLibrary);
+ public String mangleLookupMethod(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

Powered by Google App Engine
This is Rietveld 408576698