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

Unified Diff: dart/lib/compiler/implementation/enqueue.dart

Issue 10876008: Remove most superfluous getter arguments from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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: dart/lib/compiler/implementation/enqueue.dart
diff --git a/dart/lib/compiler/implementation/enqueue.dart b/dart/lib/compiler/implementation/enqueue.dart
index 344f19b686de53ae659ac6640d64ad111c2e360c..be4f3ac62b6f58686340041650e7f41a87f8bdd5 100644
--- a/dart/lib/compiler/implementation/enqueue.dart
+++ b/dart/lib/compiler/implementation/enqueue.dart
@@ -6,7 +6,7 @@ class EnqueueTask extends CompilerTask {
final Enqueuer codegen;
final Enqueuer resolution;
- String get name() => 'Enqueue';
+ String get name => 'Enqueue';
EnqueueTask(Compiler compiler)
: codegen = new Enqueuer(compiler,
@@ -36,7 +36,7 @@ class RecompilationQueue {
queue.add(new WorkItem(element, elements, itemCompilationContextCreator()));
}
- int get length() => queue.length;
+ int get length => queue.length;
bool isEmpty() => queue.isEmpty();
@@ -72,7 +72,7 @@ class Enqueuer {
recompilationCandidates =
new RecompilationQueue(itemCompilationContextCreator);
- bool get isResolutionQueue() => compiler.enqueuer.resolution === this;
+ bool get isResolutionQueue => compiler.enqueuer.resolution === this;
TreeElements getCachedElements(Element element) {
Element owner = element.getOutermostEnclosingMemberOrTopLevel();
« no previous file with comments | « dart/lib/compiler/implementation/elements/elements.dart ('k') | dart/lib/compiler/implementation/js/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698