x64/LJ_GC64: Fix stack growth in vararg function setup.

Thanks to Vyacheslav Egorov.
This commit is contained in:
Mike Pall 2015-11-18 23:24:50 +01:00
parent 4f87367b03
commit 3a0b2a907b

View File

@ -531,7 +531,7 @@ static void build_subroutines(BuildCtx *ctx)
| jmp >2
|
|->vm_growstack_v: // Grow stack for vararg Lua function.
| sub RD, 8
| sub RD, 16 // LJ_FR2
| jmp >1
|
|->vm_growstack_f: // Grow stack for fixarg Lua function.