| 1 19 20 25 26 27 28 29 30 31 32 package soot.coffi; 33 import java.io.*; 34 62 class Instruction_Multianewarray extends Instruction_intindex { 63 public byte dims; 64 public Instruction_Multianewarray() { 65 super((byte)ByteCode.MULTIANEWARRAY); 66 name = "multianewarray"; 67 } 68 public String toString(cp_info constant_pool[]) { 69 return super.toString(constant_pool) + argsep + dims; 70 } 71 public int nextOffset(int curr) { return super.nextOffset(curr)+1; } 72 public int parse(byte bc[],int index) { 73 index = super.parse(bc,index); 74 dims = bc[index]; 75 return index+1; 76 } 77 public int compile(byte bc[],int index) { 78 index = super.compile(bc,index); 79 bc[index] = dims; 80 return index+1; 81 } 82 } 83 | Popular Tags |