diff --git a/include/sta/Search.hh b/include/sta/Search.hh index a2430809..37d65dfc 100644 --- a/include/sta/Search.hh +++ b/include/sta/Search.hh @@ -511,18 +511,18 @@ protected: void tnsDecr(Vertex *vertex, PathAPIndex path_ap_index); void tnsNotifyBefore(Vertex *vertex); - PathGroups *makePathGroups(int group_count, - int endpoint_count, - bool unique_pins, - float min_slack, - float max_slack, - PathGroupNameSet *group_names, - bool setup, - bool hold, - bool recovery, - bool removal, - bool clk_gating_setup, - bool clk_gating_hold); + void makePathGroups(int group_count, + int endpoint_count, + bool unique_pins, + float min_slack, + float max_slack, + PathGroupNameSet *group_names, + bool setup, + bool hold, + bool recovery, + bool removal, + bool clk_gating_setup, + bool clk_gating_hold); bool matchesFilterTo(Path *path, const ClockEdge *to_clk_edge) const; PathRef pathClkPathArrival1(const Path *path) const; diff --git a/search/Search.cc b/search/Search.cc index 48a4956f..86d68724 100644 --- a/search/Search.cc +++ b/search/Search.cc @@ -452,11 +452,11 @@ Search::findPathEnds(ExceptionFrom *from, recovery = removal = false; if (!sdc_->gatedClkChecksEnabled()) clk_gating_setup = clk_gating_hold = false; - path_groups_ = makePathGroups(group_count, endpoint_count, unique_pins, - slack_min, slack_max, - group_names, setup, hold, - recovery, removal, - clk_gating_setup, clk_gating_hold); + makePathGroups(group_count, endpoint_count, unique_pins, + slack_min, slack_max, + group_names, setup, hold, + recovery, removal, + clk_gating_setup, clk_gating_hold); ensureDownstreamClkPins(); PathEndSeq path_ends = path_groups_->makePathEnds(to, unconstrained_paths_, corner, min_max, @@ -3973,7 +3973,7 @@ Search::wnsSlack(Vertex *vertex, //////////////////////////////////////////////////////////////// -PathGroups * +void Search::makePathGroups(int group_count, int endpoint_count, bool unique_pins, @@ -3987,14 +3987,14 @@ Search::makePathGroups(int group_count, bool clk_gating_setup, bool clk_gating_hold) { - return new PathGroups(group_count, endpoint_count, unique_pins, - slack_min, slack_max, - group_names, - setup, hold, - recovery, removal, - clk_gating_setup, clk_gating_hold, - unconstrained_paths_, - this); + path_groups_ = new PathGroups(group_count, endpoint_count, unique_pins, + slack_min, slack_max, + group_names, + setup, hold, + recovery, removal, + clk_gating_setup, clk_gating_hold, + unconstrained_paths_, + this); } void