aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example.c
diff options
Diffstat (limited to 'example.c')
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index 3796837a..114535e0 100644
--- a/example.c
+++ b/example.c
@@ -1256,7 +1256,7 @@ static void write_reg_to_storage(struct bb_state *state, struct hardreg *reg, ps
output_insn(state, "movl %s,%s", reg->name, out->name);
storage->type = REG_REG;
storage->regno = i;
- reg->busy = REG_FIXED;
+ out->busy = REG_FIXED;
return;
}