| Modifier and Type | Class and Description |
|---|---|
static class |
CallConversionNode.Kind |
static class |
CallConversionNode.Sequence |
EXCEPTION_REG, FIRST_ORDINARY_REG, NO_VALUE, RETURN_REG| Constructor and Description |
|---|
CallConversionNode(CallConversionNode.Kind kind,
CallConversionNode.Sequence sequence_number,
int result_reg,
int base_reg,
SourceLocation location)
Constructs a new conversion call node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canThrowExceptions()
Returns true if this node may throw exceptions.
|
void |
check(BasicBlock b)
Perform a consistency check of this node.
|
int |
getBaseRegister()
Returns the base register.
|
CallConversionNode.Kind |
getKind()
Returns the kind.
|
CallConversionNode.Sequence |
getSequenceNumber()
Returns the sequence number.
|
boolean |
isConstructorCall()
Checks whether this is a constructor call or an ordinary call.
|
void |
setBaseRegister(int base_var)
Sets the base register.
|
String |
toString()
Returns a string description of this node.
|
<ArgType> void |
visitBy(NodeVisitor<ArgType> v,
ArgType a)
Visits this node with the given visitor.
|
getResultRegistergetBlock, getDuplicateOf, getIndex, getSourceLocation, isArtificial, isDead, isRegistersDone, setArtificial, setBlock, setDead, setDuplicateOf, setIndex, setRegistersDoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResultRegisterpublic CallConversionNode(CallConversionNode.Kind kind, CallConversionNode.Sequence sequence_number, int result_reg, int base_reg, SourceLocation location)
kind - The conversion kind.result_reg - The register for the result.base_reg - The base object register.location - The source location.public boolean canThrowExceptions()
AbstractNodecanThrowExceptions in class AbstractNodepublic void check(BasicBlock b)
AbstractNodecheck in class AbstractNodeb - basic block containing this nodepublic int getBaseRegister()
public CallConversionNode.Kind getKind()
public CallConversionNode.Sequence getSequenceNumber()
public boolean isConstructorCall()
ICallNodeisConstructorCall in interface ICallNodepublic void setBaseRegister(int base_var)
public String toString()
AbstractNodetoString in class AbstractNodepublic <ArgType> void visitBy(NodeVisitor<ArgType> v, ArgType a)
NodeCopyright © 2012 Aarhus University