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

Unified Diff: lib/compiler/implementation/ssa/tracer.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
Index: lib/compiler/implementation/ssa/tracer.dart
diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart
index 4b3520df234b2b27e55f4eb479c29ce12accd25d..4c3fcffa2fe2fa4e447e104bd1b2754681f497a0 100644
--- a/lib/compiler/implementation/ssa/tracer.dart
+++ b/lib/compiler/implementation/ssa/tracer.dart
@@ -50,7 +50,7 @@ class HTracer extends HGraphVisitor implements Tracer {
}
void addPredecessors(HBasicBlock block) {
- if (block.predecessors.isEmpty()) {
+ if (block.predecessors.isEmpty) {
printEmptyProperty("predecessors");
} else {
addIndent();
@@ -63,7 +63,7 @@ class HTracer extends HGraphVisitor implements Tracer {
}
void addSuccessors(HBasicBlock block) {
- if (block.successors.isEmpty()) {
+ if (block.successors.isEmpty) {
printEmptyProperty("successors");
} else {
addIndent();
« no previous file with comments | « lib/compiler/implementation/ssa/optimize.dart ('k') | lib/compiler/implementation/ssa/types_propagation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698