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

Unified Diff: runtime/vm/block_scheduler.cc

Issue 1759913002: Make precompiler work with product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments Created 4 years, 10 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 | « runtime/lib/regexp.cc ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/block_scheduler.cc
diff --git a/runtime/vm/block_scheduler.cc b/runtime/vm/block_scheduler.cc
index 5b3d78d8f59941cb3ead384f10552053bcbc4fc0..bc9885dcecf9e2ae463c8a6a7af18bba3273ac6b 100644
--- a/runtime/vm/block_scheduler.cc
+++ b/runtime/vm/block_scheduler.cc
@@ -12,7 +12,7 @@
namespace dart {
static intptr_t GetEdgeCount(const Array& edge_counters, intptr_t edge_id) {
- if (!FLAG_emit_edge_counters) {
+ if (!FLAG_reorder_basic_blocks) {
// Assume everything was visited once.
return 1;
}
@@ -53,7 +53,7 @@ static void SetEdgeWeight(BlockEntryInstr* block,
void BlockScheduler::AssignEdgeWeights() const {
- if (!FLAG_emit_edge_counters) {
+ if (!FLAG_reorder_basic_blocks) {
return;
}
« no previous file with comments | « runtime/lib/regexp.cc ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698