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

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

Issue 10078010: Don't forget to add the HStatic to the graph. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/optimize.dart
===================================================================
--- lib/compiler/implementation/ssa/optimize.dart (revision 6731)
+++ lib/compiler/implementation/ssa/optimize.dart (working copy)
@@ -261,6 +261,7 @@
// TODO(floitsch): cache interceptors.
HStatic target = new HStatic(
compiler.builder.interceptors.getTripleEqualsInterceptor());
+ node.block.addBefore(node, target);
return new HIdentity(target, left, right);
}
}
@@ -273,7 +274,7 @@
// TODO(floitsch): cache interceptors.
HStatic target = new HStatic(
compiler.builder.interceptors.getEqualsNullInterceptor());
- node.block.addBefore(node,target);
+ node.block.addBefore(node, target);
return new HEquals(target, node.left, node.right);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698