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

Unified Diff: lib/compiler/implementation/ssa/types_propagation.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 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 | « lib/compiler/implementation/ssa/tracer.dart ('k') | lib/compiler/implementation/ssa/validate.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/types_propagation.dart
diff --git a/lib/compiler/implementation/ssa/types_propagation.dart b/lib/compiler/implementation/ssa/types_propagation.dart
index 377f233b0f402ebabd7926aecf9a3e5ae0250e7c..54b69de6f46a96dca73440827d77972b4094a472 100644
--- a/lib/compiler/implementation/ssa/types_propagation.dart
+++ b/lib/compiler/implementation/ssa/types_propagation.dart
@@ -98,7 +98,7 @@ class SsaTypePropagator extends HGraphVisitor implements OptimizationPhase {
void processWorklist() {
do {
- while (!worklist.isEmpty()) {
+ while (!worklist.isEmpty) {
int id = worklist.removeLast();
HInstruction instruction = workmap[id];
assert(instruction != null);
@@ -112,7 +112,7 @@ class SsaTypePropagator extends HGraphVisitor implements OptimizationPhase {
// replaced operands, so we may need to take another stab at
// emptying the worklist afterwards.
processPendingOptimizations();
- } while (!worklist.isEmpty());
+ } while (!worklist.isEmpty);
}
void addDependentInstructionsToWorkList(HInstruction instruction) {
« no previous file with comments | « lib/compiler/implementation/ssa/tracer.dart ('k') | lib/compiler/implementation/ssa/validate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698