public class BeginForInNode extends Node
for (vproperty in vobject) { ... }
The block must have precisely one successor.
EXCEPTION_REG, FIRST_ORDINARY_REG, NO_VALUE, RETURN_REG
Constructor and Description |
---|
BeginForInNode(int object_reg,
int propertylist_reg,
SourceLocation location)
Constructs a new begin-for-in 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.
|
java.util.Collection<EndForInNode> |
getEndNodes()
Returns the end nodes for this node.
|
int |
getObjectRegister()
Returns the object register.
|
int |
getPropertyListRegister()
Returns the property list register.
|
void |
setEndNodes(java.util.Collection<EndForInNode> endNodes)
Sets the end nodes for this node.
|
java.lang.String |
toString()
Returns a string description of this node.
|
void |
visitBy(NodeVisitor v)
Visits this node with the given visitor.
|
clone, getBlock, getDuplicateOf, getImplicitAfterCall, getIndex, getSourceLocation, getThisOrDuplicateOf, isArtificial, isRegistersDone, setArtificial, setBlock, setDuplicateOf, setImplicitAfterCall, setIndex, setRegistersDone, setSourceLocation
public BeginForInNode(int object_reg, int propertylist_reg, SourceLocation location)
public boolean canThrowExceptions()
AbstractNode
canThrowExceptions
in class AbstractNode
public void check(BasicBlock b)
AbstractNode
check
in class AbstractNode
b
- basic block containing this nodepublic java.util.Collection<EndForInNode> getEndNodes()
public int getObjectRegister()
public int getPropertyListRegister()
public void setEndNodes(java.util.Collection<EndForInNode> endNodes)
public java.lang.String toString()
AbstractNode
toString
in class AbstractNode
public void visitBy(NodeVisitor v)
Node
Copyright © 2009-2019 Aarhus University