jbet
Class Node.setfield

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

public static class Node.setfield
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
 java.lang.String cname
           
 java.lang.String field
           
 boolean isstatic
           
 Node obj
           
 Type t
           
 Node val
           
 int ver
           
 
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.setfield(java.lang.String c, java.lang.String f, Type _t, Node o, Node v)
           
 
Method Summary
 void codegen1(Snippit out)
           
 boolean equals(java.lang.Object io)
           
 void findinputs(int[] mk)
           
 Node get__obj()
           
 Node get__val()
           
 boolean hasSideEffect()
           
 boolean idempotent()
           
 int numParams()
          Return the count of input parameters for this subtype of Node.
 Type paramType(int i)
           
 void set__obj(Node n)
           
 void set__val(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

val

public Node val

cname

public java.lang.String cname

field

public java.lang.String field

t

public Type t

obj

public Node obj

ver

public int ver

isstatic

public boolean isstatic
Constructor Detail

Node.setfield

public Node.setfield(java.lang.String c,
                     java.lang.String f,
                     Type _t,
                     Node o,
                     Node v)
Method Detail

hasSideEffect

public boolean hasSideEffect()
Overrides:
hasSideEffect in class Node

get__obj

public Node get__obj()

set__obj

public void set__obj(Node n)

get__val

public Node get__val()

set__val

public void set__val(Node n)

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

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

type

public Type type()
Overrides:
type in class Node

idempotent

public boolean idempotent()
Overrides:
idempotent in class Node

codegen1

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

findinputs

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