mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
585dd449b5
@ -1471,6 +1471,7 @@ static void check_call_unroll(jit_State *J, TraceNo lnk)
|
|||||||
int32_t count = 0;
|
int32_t count = 0;
|
||||||
if ((J->pt->flags & PROTO_VARARG)) depth--; /* Vararg frame still missing. */
|
if ((J->pt->flags & PROTO_VARARG)) depth--; /* Vararg frame still missing. */
|
||||||
for (; depth > 0; depth--) { /* Count frames with same prototype. */
|
for (; depth > 0; depth--) { /* Count frames with same prototype. */
|
||||||
|
if (frame_iscont(frame)) depth--;
|
||||||
frame = frame_prev(frame);
|
frame = frame_prev(frame);
|
||||||
if (mref(frame_func(frame)->l.pc, void) == pc)
|
if (mref(frame_func(frame)->l.pc, void) == pc)
|
||||||
count++;
|
count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user