mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Fix VARG.
This commit is contained in:
parent
2e05e7ca67
commit
ed2d43d73c
@ -3618,8 +3618,8 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|
|||||||
| jnl >3
|
| jnl >3
|
||||||
| clgr TMPR1, BASE // No more vararg slots?
|
| clgr TMPR1, BASE // No more vararg slots?
|
||||||
| jl <1
|
| jl <1
|
||||||
| lghi TMPR2, LJ_TNIL
|
|
||||||
|2: // Fill up remainder with nil.
|
|2: // Fill up remainder with nil.
|
||||||
|
| lghi TMPR2, LJ_TNIL // TODO: move out of loop. Add NIL range macro?
|
||||||
| stg TMPR2, 0(RA)
|
| stg TMPR2, 0(RA)
|
||||||
| la RA, 8(RA)
|
| la RA, 8(RA)
|
||||||
| clgr RA, RB
|
| clgr RA, RB
|
||||||
|
Loading…
Reference in New Issue
Block a user