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

Unified Diff: src/compiler/escape-analysis-reducer.cc

Issue 1674603002: Add measurement code to escape analysis Base URL: https://chromium.googlesource.com/v8/v8.git@delay_status
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 | « src/compiler/escape-analysis.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/escape-analysis-reducer.cc
diff --git a/src/compiler/escape-analysis-reducer.cc b/src/compiler/escape-analysis-reducer.cc
index 313b6396dd3d6f9cf5b91c5ac87d7c55466a723c..195fca7b92844f19628f2157835debea2e2aaead 100644
--- a/src/compiler/escape-analysis-reducer.cc
+++ b/src/compiler/escape-analysis-reducer.cc
@@ -210,7 +210,6 @@ Reduction EscapeAnalysisReducer::ReduceObjectIsSmi(Node* node) {
return NoChange();
}
-
Reduction EscapeAnalysisReducer::ReduceFrameStateUses(Node* node) {
DCHECK_GE(node->op()->EffectInputCount(), 1);
if (node->id() < static_cast<NodeId>(fully_reduced_.length())) {
@@ -354,6 +353,9 @@ class EscapeAnalysisVerifier final : public AdvancedReducer {
};
void EscapeAnalysisReducer::VerifyReplacement() const {
+ if (FLAG_turbo_escape_stats) {
+ EscapeAnalysis::PrintStats();
+ }
#ifdef DEBUG
GraphReducer graph_reducer(zone(), jsgraph()->graph());
EscapeAnalysisVerifier verifier(&graph_reducer, escape_analysis());
« no previous file with comments | « src/compiler/escape-analysis.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698