From c523684cc4dd6898539e9400e01cd49edb08ef19 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Tue, 3 Dec 2024 10:38:05 -0700 Subject: [PATCH] ZAM support for option to not coalesce event handlers --- src/script_opt/Inline.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/script_opt/Inline.cc b/src/script_opt/Inline.cc index ad727dd908..30fef7d415 100644 --- a/src/script_opt/Inline.cc +++ b/src/script_opt/Inline.cc @@ -166,7 +166,8 @@ void Inliner::Analyze() { inline_ables[func] = f.Profile(); } - CoalesceEventHandlers(); + if ( ! analysis_options.no_eh_coalescence ) + CoalesceEventHandlers(); for ( auto& f : funcs ) if ( f.ShouldAnalyze() )