jbet
Class Node.Goto

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

public static class Node.Goto
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 dest
           
 int numparams
           
 
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.Goto(Node.Goto in)
           
Node.Goto(Node n)
           
Node.Goto(Node n, Node cs)
           
 
Method Summary
 void codegen2(Snippit out, CodeGenerator cg)
           
 void codegenpre(Snippit out, CodeGenerator cg)
           
 boolean equals(java.lang.Object io)
           
 void findinputs(int[] mk)
           
 Node get__dest()
           
 int hashCode()
           
 boolean hasSideEffect()
           
 boolean idempotent()
           
 int numParams()
          Return the count of input parameters for this subtype of Node.
 Type paramType(int i)
           
 void set__dest(Node n)
           
protected  java.lang.String toString1(int flags)
           
 Type type()
           
 
Methods inherited from class jbet.Node
addDestination, addDestination2, addrefcounts, allnodes, allnodes, allnodes, codegen1, 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, notify, notifyAll, wait, wait, wait
 

Field Detail

numparams

public int numparams

dest

public Node dest
Constructor Detail

Node.Goto

public Node.Goto(Node n)

Node.Goto

public Node.Goto(Node n,
                 Node cs)

Node.Goto

public Node.Goto(Node.Goto in)
Method Detail

get__dest

public Node get__dest()

set__dest

public void set__dest(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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

codegenpre

public void codegenpre(Snippit out,
                       CodeGenerator cg)

codegen2

public void codegen2(Snippit out,
                     CodeGenerator cg)

type

public Type type()
Overrides:
type in class Node

findinputs

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

idempotent

public boolean idempotent()
Overrides:
idempotent in class Node

hasSideEffect

public boolean hasSideEffect()
Overrides:
hasSideEffect in class Node