jbet
Class Node.NewArray

java.lang.Object
  extended by jbet.Node
      extended by jbet.Node.NewArray
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
Node

public static class Node.NewArray
extends Node


Nested Class Summary
 
Nested classes/interfaces inherited from class jbet.Node
Node.aload, Node.assign, Node.astore, Node.Cast, Node.cdouble, Node.cfloat, Node.cint, Node.clong, Node.cnull, Node.constant, Node.cString, Node.getfield, Node.Goto, Node.invokeinit, Node.invokenoa, Node.invokes, Node.invokesnoa, Node.invokev, Node.invokevnoa, Node.Label, Node.marker, Node.monitorop, Node.MultiNewArray, Node.N1, Node.N2, Node.New, Node.NewArray, Node.param, Node.ret, Node.setfield, Node.SubMethod, Node.var
 
Field Summary
 Node size
           
 Type t
           
 
Fields inherited from class jbet.Node
clocal, comment, count, destinations, done, esneed, EXIT, external, jvm2node, NONE, op, OP_ARRAYLENGTH, OP_CINT, OP_CSTRING, OP_D2F, OP_D2I, OP_D2L, OP_DADD, OP_DCMPG, OP_DCMPL, OP_DDIV, OP_DMUL, OP_DNEG, OP_DREM, OP_DSUB, OP_F2D, OP_F2I, OP_F2L, OP_FADD, OP_FCMPG, OP_FCMPL, OP_FDIV, OP_FMUL, OP_FNEG, OP_FREM, OP_FSUB, OP_GETFIELD, OP_GETSTATIC, OP_I2B, OP_I2C, OP_I2D, OP_I2F, OP_I2L, OP_I2S, OP_IADD, OP_IAND, OP_IDIV, OP_IMUL, OP_INEG, OP_INVOKEINTERFACE, OP_INVOKESTATIC, OP_INVOKEVIRTUAL, OP_IOR, OP_IREM, OP_ISHL, OP_ISHR, OP_ISUB, OP_IUSHR, OP_IXOR, OP_L2D, OP_L2F, OP_L2I, OP_LADD, OP_LAND, OP_LCMP, OP_LDIV, OP_LMUL, OP_LNEG, OP_LOR, OP_LREM, OP_LSHL, OP_LSHR, OP_LSUB, OP_LUSHR, OP_LXOR, OP_PUTFIELD, OP_PUTSTATIC, OP_VAR, op1jvm, op2jvm, otype, required, requires, sb, serial, TOSTR_COMMENT, TOSTR_DFL, TOSTR_EXTRA, TOSTR_FLAGS1, TOSTR_SRC
 
Constructor Summary
Node.NewArray(Node s, int nat)
           
Node.NewArray(Node s, java.lang.Object aValue)
           
Node.NewArray(Node s, java.lang.String cname)
           
Node.NewArray(Node s, Type arrayType)
           
 
Method Summary
 void codegen1(Snippit out)
           
 boolean equals(java.lang.Object io)
           
 void findinputs(int[] mk)
           
 Node get__size()
           
 boolean hasSideEffect()
           
 boolean idempotent()
           
 int numParams()
          Return the count of input parameters for this subtype of Node.
 Type paramType(int i)
           
 void set__size(Node n)
           
protected  java.lang.String toString1(int flags)
           
 Type type()
           
 
Methods inherited from class jbet.Node
addDestination, addDestination2, addrefcounts, allnodes, allnodes, allnodes, Constant, countDests, destinationString, isFake, isinit, jvm2node, replace, replace, replace1, require, require, require2, require2, requires, storeDests, toString, toString, urequire, usesAt
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

size

public Node size

t

public Type t
Constructor Detail

Node.NewArray

public Node.NewArray(Node s,
                     Type arrayType)

Node.NewArray

public Node.NewArray(Node s,
                     int nat)

Node.NewArray

public Node.NewArray(Node s,
                     java.lang.String cname)

Node.NewArray

public Node.NewArray(Node s,
                     java.lang.Object aValue)
Method Detail

hasSideEffect

public boolean hasSideEffect()
Overrides:
hasSideEffect in class Node

numParams

public int numParams()
Description copied from class: Node
Return the count of input parameters for this subtype of Node. The first numParams() items in "requires" are parameter Nodes.

Overrides:
numParams in class Node
Returns:
count of parameters

paramType

public Type paramType(int i)
Overrides:
paramType in class Node

get__size

public Node get__size()

set__size

public void set__size(Node n)

toString1

protected java.lang.String toString1(int flags)
Overrides:
toString1 in class Node

equals

public boolean equals(java.lang.Object io)
Overrides:
equals in class java.lang.Object

idempotent

public boolean idempotent()
Overrides:
idempotent in class Node

codegen1

public void codegen1(Snippit out)
Overrides:
codegen1 in class Node

type

public Type type()
Overrides:
type in class Node

findinputs

public void findinputs(int[] mk)
Overrides:
findinputs in class Node