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

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

Issue 10693059: remove HIf.hasElse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « no previous file | lib/compiler/implementation/ssa/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/bailout.dart
diff --git a/lib/compiler/implementation/ssa/bailout.dart b/lib/compiler/implementation/ssa/bailout.dart
index ba2423c5680efd5bd7ce4a045aaefb28272d35be..6cc69c59f8939a44d60830a62f54c98dec369b69 100644
--- a/lib/compiler/implementation/ssa/bailout.dart
+++ b/lib/compiler/implementation/ssa/bailout.dart
@@ -454,10 +454,8 @@ class SsaBailoutPropagator extends HBaseVisitor {
HIfBlockInformation info = instruction.blockInformation.body;
visitStatements(info.thenGraph);
preVisitedBlocks++;
- if (instruction.hasElse) {
- visitStatements(info.elseGraph);
- preVisitedBlocks++;
- }
+ visitStatements(info.elseGraph);
+ preVisitedBlocks++;
HBasicBlock joinBlock = instruction.joinBlock;
if (joinBlock !== null
« no previous file with comments | « no previous file | lib/compiler/implementation/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698