Chromium Code Reviews| Index: lib/compiler/implementation/namer.dart |
| diff --git a/lib/compiler/implementation/namer.dart b/lib/compiler/implementation/namer.dart |
| index a5b960e7b04ab8da17c48c2f3c2739e29f900c6a..f8b3ba88f3b643a9b4c5235baefd4eb004eb0262 100644 |
| --- a/lib/compiler/implementation/namer.dart |
| +++ b/lib/compiler/implementation/namer.dart |
| @@ -8,10 +8,6 @@ |
| class Namer { |
| final Compiler compiler; |
| - static final CLOSURE_INVOCATION_NAME = const SourceString('\$call'); |
| - static final STATIC_CLOSURE_NAME_NAME = '\$name'; |
| - static final OPERATOR_EQUALS = const SourceString('operator\$eq'); |
| - |
| static Set<String> _jsReserved = null; |
| Set<String> get jsReserved() { |
| if (_jsReserved === null) { |
| @@ -34,6 +30,10 @@ class Namer { |
| final String CURRENT_ISOLATE = "\$"; |
| final String ISOLATE = "Isolate"; |
| final String ISOLATE_PROPERTIES = "\$isolateProperties"; |
| + /** Some closures must contain their name. The name is stored in |
| + * [STATIC_CLOSURE_NAME_NAME]. */ |
| + final String STATIC_CLOSURE_NAME_NAME = '\$name'; |
|
ahe
2012/06/20 19:45:52
Raw string?
floitsch
2012/06/20 20:29:30
Done.
|
| + final SourceString CLOSURE_INVOCATION_NAME = const SourceString('\$call'); |
|
ahe
2012/06/20 19:45:52
Ditto.
floitsch
2012/06/20 20:29:30
Done.
|
| String closureInvocationName(Selector selector) { |