Question about java card method header
Posted: Sat Oct 17, 2015 2:52 am
How does the java card virtual machine construct the header for the methods?
e.g.
How can we obtain max_stack: 5? Thanks for any help.
e.g.
Code: Select all
method_info[1] // @0043= {
// flags : 0
// max_stack : 5
// nargs : 3
// max_locals: 0
/*0045*/ L0: new 0x0003
/*0048*/ dup
/*0049*/ aload_0
/*004a*/ sload_1
/*004b*/ sload_2
/*004c*/ invokespecial 0x0004
/*004f*/ pop
/*0050*/ return
How can we obtain max_stack: 5? Thanks for any help.