mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 21:00:17 +02:00
Currently we don't get why an IR emit failed in the assert message. Put the code in to the message so it is easier to see. This also resolved the issue that when in RelWithDebInfo the assert line would typically be the end of the IR emission function, so you couldn't see which assert actually triggered. Now since the message is printed this is easier Before: ``` [ASSERT] ``` After: ``` [ASSERT] Size == FEXCore::IR::OpSize::i32Bit || Size == FEXCore::IR::OpSize::i64Bit ``` This is a lot easier and better data than what #3227 proposed.