mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-04 11:10:18 +00:00
Fix scratch register pinning
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user