Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
index 94b13d772dfbca8559a2b7ba6632e3b9cf7ca258..fdea2577661d4b4dbd09f4ebf834800e92d4b12f 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
@@ -659,7 +659,7 @@ class HBasicBlock extends HInstructionList { |
if (index == dominatedBlocks.length) { |
dominatedBlocks.add(block); |
} else { |
- dominatedBlocks.insertRange(index, 1, block); |
+ dominatedBlocks.insert(index, block); |
} |
assert(block.dominator == null); |
block.dominator = this; |