mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
20a419cff2
The method which computes the weight for a `BasicBlockNode` now relies on a new `WeightTraits` which is specialized for `BasicBlock` and for `DotNode`. In this way, we can change the implementation of the `getWeight` method without having to modify the implementation inside the `revng` project.