Skip to content

Commit

Permalink
fixup! lj_jit.h: Increase HOTCOUNT_MAX and expand HotPenalty.val
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego authored and alexandergall committed Jan 8, 2018
1 parent b4060ef commit 0a90764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/luajit/src/lj_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ static void penalty_pc(jit_State *J, GCproto *pt, BCIns *pc, TraceError e)
J->penaltyslot = (J->penaltyslot + 1) & (PENALTY_SLOTS-1);
setmref(J->penalty[i].pc, pc);
setpenalty:
J->penalty[i].val = (uint16_t)val;
J->penalty[i].val = val;
J->penalty[i].reason = e;
hotcount_set(J2GG(J), pc+1, val);
}
Expand Down

0 comments on commit 0a90764

Please sign in to comment.