public class ThrowNode extends Node
throw v
Must be the last node in its block.
EXCEPTION_REG, FIRST_ORDINARY_REG, NO_VALUE, RETURN_REG
Constructor and Description |
---|
ThrowNode(int value_reg,
SourceLocation location)
Constructs a new throw node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canThrowExceptions()
Returns true if this node may throw exceptions.
|
int |
getValueRegister()
Returns the value register.
|
void |
setValueRegister(int value_reg)
Sets the value register.
|
java.lang.String |
toString()
Returns a string description of this node.
|
void |
visitBy(NodeVisitor v)
Visits this node with the given visitor.
|
check, clone, getBlock, getDuplicateOf, getImplicitAfterCall, getIndex, getSourceLocation, getThisOrDuplicateOf, isArtificial, isRegistersDone, setArtificial, setBlock, setDuplicateOf, setImplicitAfterCall, setIndex, setRegistersDone, setSourceLocation
public ThrowNode(int value_reg, SourceLocation location)
public boolean canThrowExceptions()
AbstractNode
canThrowExceptions
in class AbstractNode
public int getValueRegister()
public void setValueRegister(int value_reg)
public java.lang.String toString()
AbstractNode
toString
in class AbstractNode
public void visitBy(NodeVisitor v)
Node
Copyright © 2009-2019 Aarhus University