Skip to content

Commit

Permalink
Mark deopt use of the write of a deopt instruction
Browse files Browse the repository at this point in the history
We were counting it as a normal usage, but use the flag that is for
that instead.
  • Loading branch information
jnthn committed Jul 7, 2018
1 parent a389dff commit 09beb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spesh/facts.c
Expand Up @@ -491,7 +491,7 @@ static void add_bb_facts(MVMThreadContext *tc, MVMSpeshGraph *g, MVMSpeshBB *bb,
facts->deopt_idx = next_deopt_idx;
facts->writer = ins;
if (is_deopt_ins)
facts->usages++;
facts->deopt_required = 1;
}
}

Expand Down

0 comments on commit 09beb26

Please sign in to comment.