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

Unified Diff: lib/compiler/implementation/js_backend/emitter.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
Index: lib/compiler/implementation/js_backend/emitter.dart
diff --git a/lib/compiler/implementation/js_backend/emitter.dart b/lib/compiler/implementation/js_backend/emitter.dart
index 4be2c83890fd8a4cd57c5e37dc3d93ebf2496d82..bde72a9999ab8b71bd2d4b7e85f2fea61916d02f 100644
--- a/lib/compiler/implementation/js_backend/emitter.dart
+++ b/lib/compiler/implementation/js_backend/emitter.dart
@@ -69,7 +69,7 @@ class CodeEmitterTask extends CompilerTask {
=> '${namer.ISOLATE}.${namer.ISOLATE_PROPERTIES}';
String get supportsProtoName
=> 'supportsProto';
- String get lazyInitializerName()
+ String get lazyInitializerName
=> '${namer.ISOLATE}.\$lazy';
final String GETTER_SUFFIX = "?";
@@ -260,7 +260,7 @@ function(collectedClasses) {
}""";
}
- String get lazyInitializerFunction() {
+ String get lazyInitializerFunction {
String isolate = namer.CURRENT_ISOLATE;
JavaScriptBackend backend = compiler.backend;
String cyclicThrow = namer.isolateAccess(backend.cyclicThrowHelper);

Powered by Google App Engine
This is Rietveld 408576698