Improve bytecode generation.

This commit is contained in:
James Roseborough
2010-08-10 00:24:25 +00:00
parent 4bb7564f73
commit 2a3fd94687

View File

@@ -222,6 +222,7 @@ public class JavaBuilder {
public void initializeSlots() { public void initializeSlots() {
int slot = 0; int slot = 0;
createUpvalues(-1, 0, p.maxstacksize);
if ( superclassType == SUPERTYPE_VARARGS ) { if ( superclassType == SUPERTYPE_VARARGS ) {
for ( slot=0; slot<p.numparams; slot++ ) { for ( slot=0; slot<p.numparams; slot++ ) {
if ( pi.isInitialValueUsed(slot) ) { if ( pi.isInitialValueUsed(slot) ) {