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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart

Issue 50313007: Implement dynamic function checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r30787 Created 7 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: dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
index d13718472dab2e35f7e2c1c9e91505b6c803ed5d..0d131fc9db8f5640610ff8be26bcc026a069a73b 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -474,6 +474,10 @@ class Namer implements ClosureNamer {
return getMappedInstanceName(proposedName);
}
+ String readTypeVariableName(TypeVariableElement element) {
+ return '\$tv_${instanceFieldAccessorName(element)}';
+ }
+
/**
* Returns name of the JavaScript property used to store an instance field.
*/

Powered by Google App Engine
This is Rietveld 408576698