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

Unified Diff: runtime/vm/redundancy_elimination.cc

Issue 1678203002: Remove more feature in product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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/vm/profiler.cc ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/redundancy_elimination.cc
diff --git a/runtime/vm/redundancy_elimination.cc b/runtime/vm/redundancy_elimination.cc
index fd71008cb26ae13ef5a2fec31938ee4f8adda79c..effe15efbbf18f5cf171937fd6c96bfd6367abb4 100644
--- a/runtime/vm/redundancy_elimination.cc
+++ b/runtime/vm/redundancy_elimination.cc
@@ -2094,7 +2094,7 @@ class LoadOptimizer : public ValueObject {
graph_->AllocateSSAIndexes(phi);
phis_.Add(phi); // Postpone phi insertion until after load forwarding.
- if (FLAG_trace_load_optimization) {
+ if (FLAG_support_il_printer && FLAG_trace_load_optimization) {
THR_Print("created pending phi %s for %s at B%" Pd "\n",
phi->ToCString(),
aliased_set_->places()[place_id]->ToCString(),
@@ -2322,7 +2322,7 @@ class LoadOptimizer : public ValueObject {
ASSERT(Dominates(b, a));
}
- if (FLAG_trace_load_optimization) {
+ if (FLAG_support_il_printer && FLAG_trace_load_optimization) {
THR_Print("Replacing %s with congruent %s\n",
a->ToCString(),
b->ToCString());
@@ -2756,7 +2756,7 @@ static bool IsAllocationSinkingCandidate(Definition* alloc,
use != NULL;
use = use->next_use()) {
if (!IsSafeUse(use, check_type)) {
- if (FLAG_trace_optimization) {
+ if (FLAG_support_il_printer && FLAG_trace_optimization) {
THR_Print("use of %s at %s is unsafe for allocation sinking\n",
alloc->ToCString(),
use->instruction()->ToCString());
« no previous file with comments | « runtime/vm/profiler.cc ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698