General clean up of llvm_backend_asm.cpp code

This commit is contained in:
gingerBill
2026-08-17 22:58:51 +01:00
parent 77bedf9947
commit 582ff64bee
2 changed files with 60 additions and 69 deletions

View File

@@ -1049,7 +1049,7 @@ gb_internal void check_asm_instruction_operand(AsmCtx *asm_ctx, CheckerContext *
case_ast_node(pe, ParenExpr, expr);
check_expr(ctx, operand, expr);
if (operand->mode != Addressing_Constant) {
error(expr, "Asm operands within parentheses can only compile time constants");
error(expr, "Asm operands within parentheses can only compile time constants, if they were supported");
} else {
error(expr, "Asm operands with parentheses are not currently supported");
}