Fix off-by-one in assertion for argc/args in calls.
authorErik Verbruggen <erik.verbruggen@me.com>
Mon, 4 Mar 2013 08:32:16 +0000 (09:32 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Mon, 4 Mar 2013 10:59:08 +0000 (11:59 +0100)
commit3dc6f446d300f686d7324d99cc65b01852d399b2
tree3fa5cb4d132e1e1d23af947aef65462f34aa1d84
parent5aeccbe297ed7939f016568d104e589b3e4ff260
Fix off-by-one in assertion for argc/args in calls.

When a call is done with 1 argument, it is not copied into the outgoing
args array, but passed by-reference. So when it happens to be the last
element in the stack frame, then args + argc == stackSize (because argc
is 1).

Change-Id: Idb769c95e9066c24a9d93cdcc24e13d3a9acc995
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/v4/moth/qv4vme_moth.cpp