def _newarray(parent, input_, iNode): vtypes = parseFieldDescriptor(iNode.instruction[1], unsynthesize=False) tt = objtypes.verifierToSynthetic(vtypes[0]) line = ssa_ops.NewArray(parent, input_.stack[-1], tt, input_.monad) newstack = input_.stack[:-1] + [line.rval] return makeDict(line=line, newstack=newstack, newmonad=line.outMonad)
def _newarray(parent, input_, iNode): vtypes = parseFieldDescriptor(iNode.instruction[1], unsynthesize=False) tt = objtypes.verifierToSynthetic(vtypes[0]) line = ssa_ops.NewArray(parent, input_.stack[-1], tt, input_.monad) newstack = input_.stack[:-1] + [line.rval] return makeDict(line=line, newstack=newstack)
def parseArrOrClassName(desc): if desc[0] == '[': vtypes = parseFieldDescriptor(desc, unsynthesize=False) tt = objtypes.verifierToSynthetic(vtypes[0]) else: tt = desc, 0 return tt