< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/nodes/DimensionsNode.java
Print this page
@@ -62,11 +62,11 @@
public void generate(NodeLIRBuilderTool gen) {
LIRGeneratorTool lirGen = gen.getLIRGeneratorTool();
int size = rank * 4;
int wordSize = lirGen.target().wordSize;
int slots = roundUp(size, wordSize) / wordSize;
- VirtualStackSlot array = lirGen.getResult().getFrameMapBuilder().allocateStackSlots(slots, new BitSet(0), null);
+ VirtualStackSlot array = lirGen.allocateStackSlots(slots, new BitSet(0), null);
Value result = lirGen.emitAddress(array);
gen.setResult(this, result);
}
@NodeIntrinsic
< prev index next >