diff options
| author | gingerBill <bill@gingerbill.org> | 2022-08-05 11:57:33 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-08-05 11:57:33 +0100 |
| commit | 576914aee1565618d8448a2bbc3cbef0c4acc4d1 (patch) | |
| tree | 4331a096e8f6f487ffec6216f73b0d7352dd2c13 /src/check_builtin.cpp | |
| parent | 8171f8209a2deadc286ef7165d4a5b174ff82303 (diff) | |
Make `unreachable()` a built-in compiler-level procedure
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index 8108604ba..8f8f7f9e2 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -3569,6 +3569,7 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32 operand->mode = Addressing_NoValue; break; + case BuiltinProc_unreachable: case BuiltinProc_trap: case BuiltinProc_debug_trap: operand->mode = Addressing_NoValue; |