You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 29, 2026. It is now read-only.
Add the necessary things in order to make sure that every function ends with a termination statement that follows:
return statement: Returns a value. Can be suppressed if the block doesn't return anything
crash statement: Crashes the program instantly, doesn't cleanly unroll values.
branch jump: Jumps to another branch/block
Furthermore, add MIR checks to make sure that every block ends with a termination statement. This is to guarantee behavior and allow LLVM and other bridges to fully optimize stuff
A crash can be done trough the following:
crash("This program will crash now");
A crash will instantly crash the program and exit it
Activity