Fix scratch register pinning

This commit is contained in:
gingerBill
2026-08-17 21:37:03 +01:00
parent a2bcf3177a
commit 77bedf9947
2 changed files with 5 additions and 4 deletions

View File

@@ -1050,6 +1050,8 @@ gb_internal void check_asm_instruction_operand(AsmCtx *asm_ctx, CheckerContext *
check_expr(ctx, operand, expr);
if (operand->mode != Addressing_Constant) {
error(expr, "Asm operands within parentheses can only compile time constants");
} else {
error(expr, "Asm operands with parentheses are not currently supported");
}
return;
case_end;