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

Unified Diff: runtime/vm/block_scheduler.cc

Issue 1965823002: Initial isolate reload support (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/block_scheduler.cc
diff --git a/runtime/vm/block_scheduler.cc b/runtime/vm/block_scheduler.cc
index 9c00cfbe81879c7b706f150c351fe2eecffe370f..5a34fa42d95c704664ec94d281f8fc0ea22b5d6b 100644
--- a/runtime/vm/block_scheduler.cc
+++ b/runtime/vm/block_scheduler.cc
@@ -64,7 +64,9 @@ void BlockScheduler::AssignEdgeWeights() const {
Compiler::AbortBackgroundCompilation(Thread::kNoDeoptId,
"BlockScheduler: ICData array cleared");
}
- ASSERT(!ic_data_array.IsNull());
+ if (ic_data_array.IsNull()) {
+ return;
rmacnak 2016/05/11 19:56:17 ASSERT(at least one reload)
Cutch 2016/05/12 15:50:13 Done.
+ }
Array& edge_counters = Array::Handle();
edge_counters ^= ic_data_array.At(0);

Powered by Google App Engine
This is Rietveld 408576698