vnmakarov / mir

A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR
MIT License
2.29k stars 145 forks source link

Completion of error handling #318

Open elfring opened 1 year ago

elfring commented 1 year ago

Would you like to add more error handling for return values from functions like the following?

vnmakarov commented 1 year ago

Thank you for pointing this out.

I'd say it is not that important as the first is mostly used for developing (debugging) MIR code and the second is only the test.

But I am flexible to review a pull request implementing this and merge it if it is ok for me.

elfring commented 1 year ago