Skip to content

Commit 44e7dd1

Browse files
committed
fix using #\x in fast inline asm when x is a hub label
1 parent 3a5582e commit 44e7dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/asm/inlineasm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ CompileInlineOperand(IRList *irl, AST *expr, int *effects, int immflag)
240240
}
241241
return r;
242242
} else if (expr->kind == AST_CATCH) {
243-
r = CompileInlineOperand(irl, expr->left, effects, 0);
243+
r = CompileInlineOperand(irl, expr->left, effects, immflag);
244244
if (r && effects) {
245245
*effects |= OPEFFECT_FORCEABS;
246246
}
@@ -343,7 +343,7 @@ CompileInlineOperand(IRList *irl, AST *expr, int *effects, int immflag)
343343
}
344344
}
345345

346-
ERROR(expr, "Operand too complex for inline assembly");
346+
ERROR(expr, "Operand too complex for fast inline assembly");
347347
return NULL;
348348
}
349349

0 commit comments

Comments
 (0)