File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/frame Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ protected final boolean isLongOrObjectKind(Frame frame) {
106
106
107
107
protected final boolean isOrSetObjectKind (Frame frame ) {
108
108
if (frame .getFrameDescriptor ().getFrameSlotKind (frameSlot ) != FrameSlotKind .Object ) {
109
- CompilerDirectives .transferToInterpreter ();
109
+ CompilerDirectives .transferToInterpreterAndInvalidate ();
110
110
frame .getFrameDescriptor ().setFrameSlotKind (frameSlot , FrameSlotKind .Object );
111
111
}
112
112
return true ;
@@ -118,7 +118,7 @@ private boolean isKind(Frame frame, FrameSlotKind kind) {
118
118
119
119
private boolean initialSetKind (Frame frame , FrameSlotKind kind ) {
120
120
if (frame .getFrameDescriptor ().getFrameSlotKind (frameSlot ) == FrameSlotKind .Illegal ) {
121
- CompilerDirectives .transferToInterpreter ();
121
+ CompilerDirectives .transferToInterpreterAndInvalidate ();
122
122
frame .getFrameDescriptor ().setFrameSlotKind (frameSlot , kind );
123
123
return true ;
124
124
}
You can’t perform that action at this time.
0 commit comments