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

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

Issue 11569006: Make sure a constant that was used before but removed from the graph gets inserted back in the grap… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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 | « sdk/lib/_internal/compiler/implementation/ssa/nodes.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/optimize.dart (revision 16093)
+++ sdk/lib/_internal/compiler/implementation/ssa/optimize.dart (working copy)
@@ -26,6 +26,7 @@
void runPhase(HGraph graph, OptimizationPhase phase) {
phase.visitGraph(graph);
compiler.tracer.traceGraph(phase.name, graph);
+ assert(graph.isValid());
}
void optimize(WorkItem work, HGraph graph, bool speculative) {
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/nodes.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698