Jacek Caban (@jacek) commented about dlls/jscript/compile.c:
} }
- for(i = 0; i < func->param_cnt; i++) {
- for(i = func->param_cnt; i--;) {
The patch could be slipt further. That change alone should fix a few of your tests and could be separated.