Add "$checks". Fix where $y++ could appear inside a runtime scope.

This commit is contained in:
Christoffer Lerno
2022-09-20 17:56:46 +02:00
committed by Christoffer Lerno
parent 4fa4b2a631
commit be5c82cfa6
14 changed files with 110 additions and 14 deletions

View File

@@ -5545,6 +5545,7 @@ void llvm_emit_expr(GenContext *c, BEValue *value, Expr *expr)
case EXPR_CT_ARG:
case EXPR_ASM:
case EXPR_VASPLAT:
case EXPR_CT_CHECKS:
UNREACHABLE
case EXPR_BUILTIN_ACCESS:
llvm_emit_builtin_access(c, value, expr);