Example #1
0
 Item invoke() {
   MethodType mtype = (MethodType) member.erasure(types);
   int argsize = Code.width(mtype.argtypes);
   int rescode = Code.typecode(mtype.restype);
   int sdiff = Code.width(rescode) - argsize;
   code.emitInvokestatic(pool.put(member), mtype);
   return stackItem[rescode];
 }
Example #2
0
 int width() {
   return lhs.width() + Code.width(typecode);
 }
Example #3
0
 int width() {
   return Code.width(typecode);
 }
Example #4
0
 void stash(int toscode) {
   code.emitop0(dup_x2 + 3 * (Code.width(toscode) - 1));
 }
Example #5
0
 void stash(int toscode) {
   code.emitop0((width() == 2 ? dup_x2 : dup_x1) + 3 * (Code.width(toscode) - 1));
 }