Cr0a3/ygen

[BUG] wrong dump of add math ir node

Closed this issue · 0 comments

One random add node is dumped like that:

add = %7 i64 %4, %6

Fix
Switch $dump and self.innner3.name here: https://github.com/Cr0a3/ygen/blob/main/src/IR/nodes/math.rs#L113 and here https://github.com/Cr0a3/ygen/blob/main/src/IR/nodes/math.rs#L62