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

Unified Diff: runtime/vm/flow_graph_type_propagator.cc

Issue 23190029: Cleanup of deoptimization environment copying functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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: runtime/vm/flow_graph_type_propagator.cc
diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc
index 2ea65bac1ed80ee05be97be0de39a4b61f60acc4..89fdb603c11f0826b7332d0a63042c8daa25697a 100644
--- a/runtime/vm/flow_graph_type_propagator.cc
+++ b/runtime/vm/flow_graph_type_propagator.cc
@@ -359,6 +359,7 @@ void FlowGraphTypePropagator::StrengthenAssertWith(Instruction* check) {
if ((assert == NULL) || (assert == kStrengthenedAssertMarker)) {
return;
}
+ ASSERT(assert->env() != NULL);
Instruction* check_clone = NULL;
if (check->IsCheckSmi()) {

Powered by Google App Engine
This is Rietveld 408576698