Fix vm_growstack_v in vm_x64.dasc.

It was dropping only half of the two-slot frame info before
growing the stack and retrying the call.
This commit is contained in:
Vyacheslav Egorov 2015-11-18 21:56:11 +01:00
parent 4f87367b03
commit f7af1a214c

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 // Drop two-slot frame info.
| jmp >1
|
|->vm_growstack_f: // Grow stack for fixarg Lua function.