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

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 r30897. Created 7 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: 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 25f86da5aee68a45825e8f1e11636e9450bb30dc..ac451cf397310ee9809936dbbc97bd962c695b62 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -472,6 +472,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