public class NewMultiArrayNode extends DeoptimizingFixedWithNextNode implements Lowerable, ArrayLengthProvider
NewMultiArrayNode represents an allocation of a multi-dimensional object array.Node.ConstantNodeParameter, Node.InjectedNodeParameter, Node.Input, Node.NodeIntrinsic, Node.OptionalInput, Node.Successor, Node.ValueNumberableDeoptimizingNode.DeoptAfter, DeoptimizingNode.DeoptBefore, DeoptimizingNode.DeoptDuring| Modifier and Type | Field and Description |
|---|---|
protected NodeInputList<ValueNode> |
dimensions |
protected ResolvedJavaType |
type |
static NodeClass<NewMultiArrayNode> |
TYPE |
stateBeforenextNODE_LIST, NOT_ITERABLE, USE_UNSAFE_TO_CLONE, WithAllEdges, WithNoEdges, WithOnlyInputEdges, WithOnlySucessorEdges| Modifier | Constructor and Description |
|---|---|
protected |
NewMultiArrayNode(NodeClass<? extends NewMultiArrayNode> c,
ResolvedJavaType type,
ValueNode[] dimensions) |
|
NewMultiArrayNode(ResolvedJavaType type,
ValueNode[] dimensions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDeoptimize()
Determines if this node needs deoptimization information.
|
ValueNode |
dimension(int index) |
int |
dimensionCount() |
NodeList<ValueNode> |
dimensions() |
ValueNode |
length() |
void |
lower(LoweringTool tool)
Expand this node into lower level nodes expressing the same semantics.
|
ResolvedJavaType |
type() |
setStateBefore, stateBeforeasNode, next, setNextasConstant, asJavaConstant, getKind, graph, inferStamp, isAllowedUsageType, isConstant, isConstantPredicate, isNullConstant, setStamp, stamp, updateStampacceptInputs, acceptSuccessors, afterClone, assertFalse, assertTrue, cfgPredecessors, cfgSuccessors, clearInputs, clearSuccessors, copyWithInputs, copyWithInputs, equals, fail, formatTo, getDebugProperties, getDebugProperties, getId, getNodeClass, getUsageAt, getUsageCount, hashCode, hasNoUsages, hasUsages, inputs, isAlive, isDeleted, markDeleted, modCount, newIdentityMap, newIdentityMap, newIdentityMap, newMap, newMap, newMap, newSet, newSet, predecessor, pushInputs, removeUsage, replaceAndDelete, replaceAtMatchingUsages, replaceAtPredecessor, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceFirstInput, replaceFirstSuccessor, safeDelete, simplify, successors, toString, toString, updatePredecessor, updateUsages, updateUsagesInterface, usages, valueEquals, verifyEdges, verifyInputsclone, finalize, getClass, notify, notifyAll, wait, wait, waitstatespublic static final NodeClass<NewMultiArrayNode> TYPE
protected NodeInputList<ValueNode> dimensions
protected final ResolvedJavaType type
public NewMultiArrayNode(ResolvedJavaType type, ValueNode[] dimensions)
protected NewMultiArrayNode(NodeClass<? extends NewMultiArrayNode> c, ResolvedJavaType type, ValueNode[] dimensions)
public int dimensionCount()
public NodeList<ValueNode> dimensions()
public void lower(LoweringTool tool)
Lowerablepublic ResolvedJavaType type()
public boolean canDeoptimize()
DeoptimizingNodecanDeoptimize in interface DeoptimizingNodepublic ValueNode length()
length in interface ArrayLengthProvider