From 655768f5e40e65a9e15df32dbf8a2557bcefcfbc Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Mon, 24 Jun 2019 18:15:05 +0200 Subject: [PATCH] Remove node costs from PrimClosureValueAryNode `FrameAccess.newClosureArguments()` is not necessarily "free" --- .../squeak/nodes/primitives/impl/BlockClosurePrimitives.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/de.hpi.swa.graal.squeak/src/de/hpi/swa/graal/squeak/nodes/primitives/impl/BlockClosurePrimitives.java b/src/de.hpi.swa.graal.squeak/src/de/hpi/swa/graal/squeak/nodes/primitives/impl/BlockClosurePrimitives.java index 7a7de2668..eb41d1b03 100644 --- a/src/de.hpi.swa.graal.squeak/src/de/hpi/swa/graal/squeak/nodes/primitives/impl/BlockClosurePrimitives.java +++ b/src/de.hpi.swa.graal.squeak/src/de/hpi/swa/graal/squeak/nodes/primitives/impl/BlockClosurePrimitives.java @@ -7,8 +7,6 @@ import com.oracle.truffle.api.dsl.NodeFactory; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.frame.VirtualFrame; -import com.oracle.truffle.api.nodes.NodeCost; -import com.oracle.truffle.api.nodes.NodeInfo; import de.hpi.swa.graal.squeak.model.ArrayObject; import de.hpi.swa.graal.squeak.model.BlockClosureObject; @@ -77,7 +75,6 @@ protected final Object doValue(final VirtualFrame frame, final BlockClosureObjec } } - @NodeInfo(cost = NodeCost.NONE) @GenerateNodeFactory @SqueakPrimitive(indices = 206) protected abstract static class PrimClosureValueAryNode extends AbstractPrimitiveNode implements BinaryPrimitive {