File tree Expand file tree Collapse file tree 3 files changed +206
-135
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python Expand file tree Collapse file tree 3 files changed +206
-135
lines changed Original file line number Diff line number Diff line change 53
53
import com .oracle .graal .python .nodes .object .GetClassNode ;
54
54
import com .oracle .graal .python .runtime .exception .PException ;
55
55
import com .oracle .graal .python .runtime .object .PythonObjectFactory ;
56
+ import com .oracle .truffle .api .HostCompilerDirectives .BytecodeInterpreterSwitch ;
56
57
import com .oracle .truffle .api .dsl .Cached ;
57
58
import com .oracle .truffle .api .dsl .GenerateUncached ;
58
59
import com .oracle .truffle .api .dsl .ImportStatic ;
66
67
@ GenerateUncached
67
68
@ ImportStatic (SpecialMethodSlot .class )
68
69
public abstract class PyObjectGetIter extends Node {
70
+ @ BytecodeInterpreterSwitch
69
71
public abstract Object execute (Frame frame , Object receiver );
70
72
71
73
@ Specialization
Original file line number Diff line number Diff line change 60
60
import com .oracle .graal .python .nodes .util .CannotCastException ;
61
61
import com .oracle .graal .python .nodes .util .CastToJavaBooleanNode ;
62
62
import com .oracle .graal .python .nodes .util .CastToJavaIntLossyNode ;
63
+ import com .oracle .truffle .api .HostCompilerDirectives .BytecodeInterpreterSwitch ;
63
64
import com .oracle .truffle .api .dsl .Cached ;
64
65
import com .oracle .truffle .api .dsl .Cached .Shared ;
65
66
import com .oracle .truffle .api .dsl .GenerateUncached ;
79
80
@ GenerateUncached
80
81
@ ImportStatic (SpecialMethodSlot .class )
81
82
public abstract class PyObjectIsTrueNode extends PNodeWithContext {
83
+ @ BytecodeInterpreterSwitch
82
84
public abstract boolean execute (Frame frame , Object object );
83
85
84
86
protected abstract Object executeObject (Frame frame , Object object );
You can’t perform that action at this time.
0 commit comments