the constructor didn't look at the argcount register properly. Fixed

This commit is contained in:
Danny Yoo 2011-10-03 17:59:17 -04:00
parent 2854bd7cd5
commit 2351c6d80e

View File

@ -2189,9 +2189,9 @@
initFieldCount,
autoFieldCount,
autoV,
props, // FIXME: currently ignored
props,
inspector, // FIXME: currently ignored
procSpec, // FIXME: currently ignored
procSpec, // FIXME: currently ignored
immutables, // FIXME: currently ignored
guard, // FIXME: currently ignored
constructorName
@ -2215,7 +2215,7 @@
function (M) {
var args = [];
var i;
for(i = 0; i < initFieldCount; i++) {
for(i = 0; i < M.a; i++) {
args.push(M.e[M.e.length - 1 - i]);
}
return structType.constructor.apply(null, args);