Closed Cr0a3 closed 2 months ago
Describe the bug Before function calls eax needs to be reset:
eax
xor eax, eax
but it doesn't get added https://github.com/Cr0a3/ygen/blob/main/src/Target/x64/ir.rs#L552 (it gets optimized out)
fixed the optimization out
But's still giving segmentation fault
Describe the bug Before function calls
eax
needs to be reset:but it doesn't get added https://github.com/Cr0a3/ygen/blob/main/src/Target/x64/ir.rs#L552 (it gets optimized out)