Ditz issue update
Ditz issue update
API testcase for stack reserve vs. function calls

This documents a value stack reserve handling bug in Duktape 0.11.0 and
documents the desired behavior.
Testcase trivia for Array.prototype.join()
Fix valstack guaranteed size after function call
Fix valstack restore: use compact flag

Without compact flag, valstack resize helper would always add more spare,
which would accumulate.  This luckily broke test-bi-array-proto-join.js.

The commit also removes one helper layer from valstack resizing.
Rework valstack resize to use a flags field

Three separate int flags slightly bloat call sites for basically
no gain.  There may be a need for further flags later too.
Fix Array.prototype.join() valstack spare handling

Previously join() didn't require enough valstack space.  The existing
built-in spare hid this bug, so this had no concrete impact.
Release note: stack reserve handling
Merge branch 'valstack-checked-size-restore'

Fix value stack resize handling after a function call.

Call handling must ensure that whatever value stack size has been requested
by the application (with duk_{check,require}_stack()) is guaranteed also
after a function call returns.  Previously the guaranteed size might have
been reduced (there's a testcase demonstrating this in the commit).
Ditz issue update