Make unreachable() a built-in compiler-level procedure

This commit is contained in:
gingerBill
2022-08-05 11:57:33 +01:00
parent 8171f8209a
commit 576914aee1
5 changed files with 19 additions and 20 deletions
+1
View File
@@ -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;