Fix invalid type

This commit is contained in:
Dmitry Stogov 2022-09-07 22:21:12 +03:00
parent 443ca46958
commit 2677299bbd
2 changed files with 2 additions and 2 deletions

View File

@ -1149,7 +1149,7 @@ int ir_match(ir_ctx *ctx)
}
/* code genertion */
static ir_reg ir_ref_spill_slot(ir_ctx *ctx, ir_ref ref)
static int32_t ir_ref_spill_slot(ir_ctx *ctx, ir_ref ref)
{
ir_backend_data *data = ctx->data;
int32_t offset;

View File

@ -2043,7 +2043,7 @@ int ir_match(ir_ctx *ctx)
}
/* code genertion */
static ir_reg ir_ref_spill_slot(ir_ctx *ctx, ir_ref ref)
static int32_t ir_ref_spill_slot(ir_ctx *ctx, ir_ref ref)
{
ir_backend_data *data = ctx->data;
int32_t offset;