Example #1
0
 void run() {
   find_bridges();
   find_potential_bridgee_refs();
   exclude_referenced_bridgees();
   TRACE(BRIDGE, 5, "%lu bridges to optimize\n", m_bridges_to_bridgees.size());
   inline_bridges();
   delete_unused_bridgees();
   TRACE(BRIDGE, 1,
           "Inlined and removed %lu bridges\n",
           m_bridges_to_bridgees.size());
 }
Example #2
0
 void run() {
   find_bridges();
   find_potential_bridgee_refs();
   exclude_referenced_bridgees();
   TRACE(BRIDGE, 5, "%lu bridges to optimize\n", m_bridges_to_bridgees.size());
   m_mgr.incr_metric(METRIC_BRIDGES_TO_OPTIMIZE, m_bridges_to_bridgees.size());
   inline_bridges();
   delete_unused_bridgees();
   TRACE(BRIDGE, 1,
           "Inlined and removed %lu bridges\n",
           m_bridges_to_bridgees.size());
   m_mgr.incr_metric(METRIC_BRIDGES_REMOVED, m_bridges_to_bridgees.size());
 }