Added addPush(boolean)

This commit is contained in:
igor%mir2.org 2004-05-07 15:00:17 +00:00
parent 872ab5d017
commit 09b1d12d63

View File

@ -830,6 +830,11 @@ public class ClassFileWriter {
}
}
public void addPush(boolean k)
{
add(k ? ByteCode.ICONST_1 : ByteCode.ICONST_0);
}
/**
* Generate code to load the given long on stack.
*