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

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

Issue 11086004: Remove some warnings and dead code in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/nodes.dart
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart
index 329da7d3e29a92de29931b0a0a34f20d3903c2d1..e2da4ab84fe7fdfa8187b794406a0116fc75639d 100644
--- a/lib/compiler/implementation/ssa/nodes.dart
+++ b/lib/compiler/implementation/ssa/nodes.dart
@@ -589,11 +589,6 @@ class HBasicBlock extends HInstructionList {
block.predecessors.add(this);
}
- void removeSuccessor(HBasicBlock successor) {
- successors.removeAt(successors.indexOf(successor));
- successor.predecessors.removeAt(successors.predecessors.indexOf(this));
- }
-
void postProcessLoopHeader() {
assert(isLoopHeader());
// Only the first entry into the loop is from outside the
« no previous file with comments | « lib/compiler/implementation/js_backend/constant_system_javascript.dart ('k') | lib/compiler/implementation/ssa/optimize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698