public class BeginForInNode extends Node
for (vproperty in vobject) { ... }
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.
|
int |
getObjectRegister()
Returns the object register.
|
int |
getPropertyListRegister()
Returns the property list register.
|
void |
setObjectRegister(int object_reg)
Sets the object 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.
|
getBlock, getDuplicateOf, getIndex, getSourceLocation, isArtificial, isDead, isRegistersDone, setArtificial, setBlock, setDead, setDuplicateOf, setIndex, setRegistersDonepublic BeginForInNode(int object_reg,
int propertylist_reg,
SourceLocation location)
public boolean canThrowExceptions()
AbstractNodecanThrowExceptions in class AbstractNodepublic void check(BasicBlock b)
AbstractNodecheck in class AbstractNodeb - basic block containing this nodepublic int getObjectRegister()
public int getPropertyListRegister()
public void setObjectRegister(int object_reg)
public String toString()
AbstractNodetoString in class AbstractNodepublic <ArgType> void visitBy(NodeVisitor<ArgType> v, ArgType a)
NodeCopyright © 2012 Aarhus University