mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2025-12-22 05:46:34 +01:00
Add OpUnreachable
This commit is contained in:
parent
84fab90024
commit
f1cccfd0f3
2 changed files with 8 additions and 0 deletions
|
|
@ -292,6 +292,9 @@ public:
|
|||
/// Returns with no value from a function with void return type.
|
||||
void OpReturn();
|
||||
|
||||
/// Behavior is undefined if this instruction is executed.
|
||||
void OpUnreachable();
|
||||
|
||||
/// Return a value from a function.
|
||||
Id OpReturnValue(Id value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue