List of usage examples for org.objectweb.asm.tree MultiANewArrayInsnNode getOpcode
public int getOpcode()
From source file:edu.mit.streamjit.util.bytecode.MethodResolver.java
License:Open Source License
private void interpret(MultiANewArrayInsnNode insn, FrameState frame, BBInfo block) { assert insn.getOpcode() == Opcodes.MULTIANEWARRAY; Klass k = getKlassByInternalName(insn.desc); Value[] dims = new Value[insn.dims]; for (int i = dims.length - 1; i >= 0; --i) dims[i] = frame.stack.pop();/*from w w w . ja v a 2s .co m*/ NewArrayInst nai = new NewArrayInst(typeFactory.getArrayType(k), dims); block.block.instructions().add(nai); frame.stack.push(nai); }