Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Jan 13, 2025
1 parent 1a20d3e commit 1cbebe2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import de.hpi.swa.trufflesqueak.nodes.accessing.ArrayObjectNodesFactory.ArrayObjectReadNodeGen;
import de.hpi.swa.trufflesqueak.nodes.accessing.ArrayObjectNodesFactory.ArrayObjectSizeNodeGen;
import de.hpi.swa.trufflesqueak.nodes.accessing.ArrayObjectNodesFactory.ArrayObjectToObjectArrayCopyNodeGen;
import de.hpi.swa.trufflesqueak.nodes.accessing.ArrayObjectNodesFactory.ArrayObjectToObjectArrayWithFirstNodeGen;
import de.hpi.swa.trufflesqueak.nodes.accessing.ArrayObjectNodesFactory.ArrayObjectWriteNodeGen;
import de.hpi.swa.trufflesqueak.util.ArrayUtils;
import de.hpi.swa.trufflesqueak.util.FrameAccess;
Expand Down Expand Up @@ -251,16 +250,11 @@ protected static final Object[] doArrayOfDoubles(final Node node, final ArrayObj
}

@GenerateInline
@GenerateUncached
@GenerateCached(false)
public abstract static class ArrayObjectToObjectArrayWithFirstNode extends AbstractNode {

public abstract Object[] execute(Node node, Object first, ArrayObject obj);

public static final Object[] executeUncached(final Object first, final ArrayObject obj) {
return ArrayObjectToObjectArrayWithFirstNodeGen.getUncached().execute(null, first, obj);
}

@Specialization(guards = "obj.isObjectType()")
protected static final Object[] doArrayOfObjects(final Object first, final ArrayObject obj) {
final Object[] result = new Object[1 + obj.getObjectLength()];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ public void setNextWakeupTick(final long msTime) {
nextWakeupTick = msTime;
}

public long getNextWakeupTick() {
return nextWakeupTick;
}

public boolean isActive() {
return isActive;
}
Expand Down

0 comments on commit 1cbebe2

Please sign in to comment.