mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
603b80e695
Implement a new `getWeight` method for the `BasicBlockNode` class. This method is later used in the `untangle` pass to obtain an estimate of the weight in terms of original instructions of the node under analysis. In case of a collapsed node the method recursively explore all the collapsed region and return the sum of the weights of the nodes composing the collapsed region.