Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Jan 14, 2025
1 parent 8e7c9a6 commit 44dcfec
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ protected static final Object perform(final VirtualFrame frame, final Object rec
@SqueakPrimitive(indices = 85)
protected abstract static class PrimSignalNode extends AbstractPrimitiveNode implements Primitive0WithFallback {
@Specialization(guards = "isSemaphore(receiver)")
protected final Object doSignal(final VirtualFrame frame, final PointersObject receiver,
protected static final Object doSignal(final VirtualFrame frame, final PointersObject receiver,
@Bind("this") final Node node,
@Cached(inline = true) final SignalSemaphoreNode signalSemaphoreNode,
@Cached final FrameStackPushNode pushReceiverNode) {
Expand Down Expand Up @@ -333,10 +333,8 @@ protected final PointersObject doWaitExcessSignals(final VirtualFrame frame, fin
@GenerateNodeFactory
@SqueakPrimitive(indices = 87)
protected abstract static class PrimResumeNode extends AbstractPrimitiveNode implements Primitive0WithFallback {

@Specialization
@SuppressWarnings("truffle-static-method")
protected final Object doResume(final VirtualFrame frame, final PointersObject receiver,
protected static final Object doResume(final VirtualFrame frame, final PointersObject receiver,
@Bind("this") final Node node,
@Cached final AbstractPointersObjectReadNode readNode,
@Cached final ResumeProcessNode resumeProcessNode,
Expand Down Expand Up @@ -837,8 +835,7 @@ protected static final ClassObject doPrimAdoptInstance(final ClassObject receive
@SqueakPrimitive(indices = 167)
protected abstract static class PrimYieldNode extends AbstractPrimitiveNode implements Primitive0WithFallback {
@Specialization
@SuppressWarnings("truffle-static-method")
protected final Object doYield(final VirtualFrame frame, final PointersObject scheduler,
protected static final Object doYield(final VirtualFrame frame, final PointersObject scheduler,
@Bind("this") final Node node,
@Cached final ArrayObjectReadNode arrayReadNode,
@Cached final GetActiveProcessNode getActiveProcessNode,
Expand Down Expand Up @@ -1227,7 +1224,7 @@ protected static final AbstractPrimitiveNode createPrimitiveNode(final CompiledC
@SqueakPrimitive(indices = 230)
protected abstract static class PrimRelinquishProcessorNode extends AbstractPrimitiveNode implements Primitive1WithFallback {
@Specialization
protected final Object doRelinquish(final VirtualFrame frame, final Object receiver, final long timeMicroseconds,
protected static final Object doRelinquish(final VirtualFrame frame, final Object receiver, final long timeMicroseconds,
@Cached final CheckForInterruptsFullNode interruptNode,
@Cached final FrameStackPushNode pushReceiverNode) {
MiscUtils.sleep(timeMicroseconds / 1000);
Expand Down

0 comments on commit 44dcfec

Please sign in to comment.