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

Unified Diff: frog/leg/namer.dart

Issue 9086010: closure calls (just the invocation part). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update test status file. Created 8 years, 12 months 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
« no previous file with comments | « frog/leg/elements/elements.dart ('k') | frog/leg/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/namer.dart
diff --git a/frog/leg/namer.dart b/frog/leg/namer.dart
index 509b346d3476c59d2f541c644368e9b01ae0a31d..9bd737e75aa0ef29b38f4e1eacdc09b874906df2 100644
--- a/frog/leg/namer.dart
+++ b/frog/leg/namer.dart
@@ -27,6 +27,11 @@ class Namer {
String get isolate() => "Isolate";
+ String closureInvocationName() {
+ // TODO(floitsch): mangle, while not conflicting with instance names.
+ return '\$call';
+ }
+
String instanceName(SourceString instanceName) {
String candidate = '$instanceName';
// TODO(floitsch): mangle, while preserving uniqueness.
« no previous file with comments | « frog/leg/elements/elements.dart ('k') | frog/leg/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698