示例#1
0
 Vector execute(MethodGen mGen, InstructionHandle ins, Stack s, Frame f) {
   // ConstantPool cp = mGen.getConstantPool().getConstantPool();
   NEWARRAY naIns = (NEWARRAY) ins.getInstruction();
   for (int i = 0; i < naIns.consumeStack(); i++) s.pop(); // pop array size
   s.push(
       new VirtualReferenceType(
           new ArrayType(new BasicType(naIns.getTypeTag()), naIns.consumeStack())));
   return super.execute(mGen, ins, s, f);
 }