src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/virtual/VirtualObjectNode.java
equal
deleted
inserted
replaced
23 package org.graalvm.compiler.nodes.virtual; |
23 package org.graalvm.compiler.nodes.virtual; |
24 |
24 |
25 import static org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_0; |
25 import static org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_0; |
26 import static org.graalvm.compiler.nodeinfo.NodeSize.SIZE_0; |
26 import static org.graalvm.compiler.nodeinfo.NodeSize.SIZE_0; |
27 |
27 |
|
28 import org.graalvm.compiler.core.common.spi.ArrayOffsetProvider; |
28 import org.graalvm.compiler.core.common.type.StampFactory; |
29 import org.graalvm.compiler.core.common.type.StampFactory; |
29 import org.graalvm.compiler.core.common.type.TypeReference; |
30 import org.graalvm.compiler.core.common.type.TypeReference; |
30 import org.graalvm.compiler.graph.IterableNodeType; |
31 import org.graalvm.compiler.graph.IterableNodeType; |
31 import org.graalvm.compiler.graph.Node; |
32 import org.graalvm.compiler.graph.Node; |
32 import org.graalvm.compiler.graph.NodeClass; |
33 import org.graalvm.compiler.graph.NodeClass; |
93 * |
94 * |
94 * @param constantOffset offset, where the value is placed. |
95 * @param constantOffset offset, where the value is placed. |
95 * @param expectedEntryKind Specifies which type is expected at this offset (Is important when |
96 * @param expectedEntryKind Specifies which type is expected at this offset (Is important when |
96 * doing implicit casts, especially on big endian systems. |
97 * doing implicit casts, especially on big endian systems. |
97 */ |
98 */ |
98 public abstract int entryIndexForOffset(long constantOffset, JavaKind expectedEntryKind); |
99 public abstract int entryIndexForOffset(ArrayOffsetProvider arrayOffsetProvider, long constantOffset, JavaKind expectedEntryKind); |
99 |
100 |
100 /** |
101 /** |
101 * Returns the {@link JavaKind} of the entry at the given index. |
102 * Returns the {@link JavaKind} of the entry at the given index. |
102 */ |
103 */ |
103 public abstract JavaKind entryKind(int index); |
104 public abstract JavaKind entryKind(int index); |