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

Unified Diff: runtime/vm/block_scheduler.cc

Issue 70183010: Fixes a couple problems with GC of unoptimized code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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 | runtime/vm/code_generator.cc » ('j') | runtime/vm/code_generator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/block_scheduler.cc
===================================================================
--- runtime/vm/block_scheduler.cc (revision 30197)
+++ runtime/vm/block_scheduler.cc (working copy)
@@ -54,6 +54,7 @@
void BlockScheduler::AssignEdgeWeights() const {
const Code& unoptimized_code = Code::Handle(
flow_graph()->parsed_function().function().unoptimized_code());
+ ASSERT(!unoptimized_code.IsNull());
intptr_t entry_count =
ComputeEdgeCount(unoptimized_code,
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/code_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698