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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/optimize.dart

Issue 40643002: Redo "Separate HTypeConversion checked type from output type." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
index 3424ca0e98ba7b21c5c333cc439cfd6454cd028f..d85cc013d9ee381060562e34150349f3ffbd15ea 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
@@ -600,7 +600,7 @@ class SsaInstructionSimplifier extends HBaseVisitor
return node;
}
}
- return removeIfCheckAlwaysSucceeds(node, node.instructionType);
+ return removeIfCheckAlwaysSucceeds(node, node.checkedType);
}
HInstruction visitTypeKnown(HTypeKnown node) {

Powered by Google App Engine
This is Rietveld 408576698