Skip to content

Commit 96523dd

Browse files
committed
remove pointless @BytecodeInterpreterSwitch annotations
1 parent 7a58765 commit 96523dd

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/lib/PyObjectGetIter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
import com.oracle.graal.python.nodes.object.GetClassNode;
5454
import com.oracle.graal.python.runtime.exception.PException;
5555
import com.oracle.graal.python.runtime.object.PythonObjectFactory;
56-
import com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterSwitch;
5756
import com.oracle.truffle.api.dsl.Cached;
5857
import com.oracle.truffle.api.dsl.GenerateUncached;
5958
import com.oracle.truffle.api.dsl.ImportStatic;
@@ -67,7 +66,6 @@
6766
@GenerateUncached
6867
@ImportStatic(SpecialMethodSlot.class)
6968
public abstract class PyObjectGetIter extends Node {
70-
@BytecodeInterpreterSwitch
7169
public abstract Object execute(Frame frame, Object receiver);
7270

7371
@Specialization

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/lib/PyObjectIsTrueNode.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
import com.oracle.graal.python.nodes.util.CannotCastException;
6161
import com.oracle.graal.python.nodes.util.CastToJavaBooleanNode;
6262
import com.oracle.graal.python.nodes.util.CastToJavaIntLossyNode;
63-
import com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterSwitch;
6463
import com.oracle.truffle.api.dsl.Cached;
6564
import com.oracle.truffle.api.dsl.Cached.Shared;
6665
import com.oracle.truffle.api.dsl.GenerateUncached;
@@ -80,7 +79,6 @@
8079
@GenerateUncached
8180
@ImportStatic(SpecialMethodSlot.class)
8281
public abstract class PyObjectIsTrueNode extends PNodeWithContext {
83-
@BytecodeInterpreterSwitch
8482
public abstract boolean execute(Frame frame, Object object);
8583

8684
protected abstract Object executeObject(Frame frame, Object object);

0 commit comments

Comments
 (0)