Skip to content

Commit

Permalink
Remove node costs from PrimClosureValueAryNode
Browse files Browse the repository at this point in the history
`FrameAccess.newClosureArguments()` is not necessarily "free"
  • Loading branch information
fniephaus committed Jun 24, 2019
1 parent 61a795c commit 655768f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 655768f

Please sign in to comment.