Skip to content

Commit 4426118

Browse files
msimacektomasstupka
authored andcommitted
Remove deprecated BytecodeInterpreterSwitchBoundary usages
1 parent 0fec7ef commit 4426118

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/bytecode/PBytecodeRootNode.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
import com.oracle.truffle.api.CompilerDirectives.CompilationFinal;
145145
import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
146146
import com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterSwitch;
147-
import com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterSwitchBoundary;
148147
import com.oracle.truffle.api.Truffle;
149148
import com.oracle.truffle.api.TruffleLanguage;
150149
import com.oracle.truffle.api.exception.AbstractTruffleException;
@@ -549,7 +548,6 @@ private <A, T extends Node> T insertChildNode(Node[] nodes, int nodeIndex, NodeF
549548
return doInsertChildNode(nodes, nodeIndex, nodeSupplier, argument);
550549
}
551550

552-
@BytecodeInterpreterSwitchBoundary
553551
@SuppressWarnings("unchecked")
554552
private <A, T extends Node> T doInsertChildNode(Node[] nodes, int nodeIndex, NodeFunction<A, T> nodeSupplier, A argument) {
555553
CompilerDirectives.transferToInterpreterAndInvalidate();
@@ -567,7 +565,6 @@ private <A, T extends Node> T insertChildNode(Node[] nodes, int nodeIndex, T unc
567565
return doInsertChildNode(nodes, nodeIndex, node, uncached, nodeSupplier, argument);
568566
}
569567

570-
@BytecodeInterpreterSwitchBoundary
571568
@SuppressWarnings("unchecked")
572569
private <A, T extends Node> T doInsertChildNode(Node[] nodes, int nodeIndex, Node node, T uncached, NodeFunction<A, T> nodeSupplier, A argument) {
573570
CompilerDirectives.transferToInterpreterAndInvalidate();
@@ -591,7 +588,6 @@ private <T extends Node> T insertChildNodeInt(Node[] nodes, int nodeIndex, IntNo
591588
return doInsertChildNodeInt(nodes, nodeIndex, nodeSupplier, argument);
592589
}
593590

594-
@BytecodeInterpreterSwitchBoundary
595591
@SuppressWarnings("unchecked")
596592
private <T extends Node> T doInsertChildNodeInt(Node[] nodes, int nodeIndex, IntNodeFunction<T> nodeSupplier, int argument) {
597593
CompilerDirectives.transferToInterpreterAndInvalidate();
@@ -609,7 +605,6 @@ private <T extends Node> T insertChildNode(Node[] nodes, int nodeIndex, NodeSupp
609605
return doInsertChildNode(nodes, nodeIndex, nodeSupplier);
610606
}
611607

612-
@BytecodeInterpreterSwitchBoundary
613608
@SuppressWarnings("unchecked")
614609
private <T extends Node> T doInsertChildNode(Node[] nodes, int nodeIndex, NodeSupplier<T> nodeSupplier) {
615610
CompilerDirectives.transferToInterpreterAndInvalidate();
@@ -627,7 +622,6 @@ private <T extends Node> T insertChildNode(Node[] nodes, int nodeIndex, T uncach
627622
return doInsertChildNode(nodes, nodeIndex, node, uncached, nodeSupplier);
628623
}
629624

630-
@BytecodeInterpreterSwitchBoundary
631625
@SuppressWarnings("unchecked")
632626
private <T extends Node> T doInsertChildNode(Node[] nodes, int bytecodeIndex, Node node, T uncached, NodeSupplier<T> nodeSupplier) {
633627
CompilerDirectives.transferToInterpreterAndInvalidate();

0 commit comments

Comments
 (0)