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) {
106106
107107 protected final boolean isOrSetObjectKind (Frame frame ) {
108108 if (frame .getFrameDescriptor ().getFrameSlotKind (frameSlot ) != FrameSlotKind .Object ) {
109- CompilerDirectives .transferToInterpreter ();
109+ CompilerDirectives .transferToInterpreterAndInvalidate ();
110110 frame .getFrameDescriptor ().setFrameSlotKind (frameSlot , FrameSlotKind .Object );
111111 }
112112 return true ;
@@ -118,7 +118,7 @@ private boolean isKind(Frame frame, FrameSlotKind kind) {
118118
119119 private boolean initialSetKind (Frame frame , FrameSlotKind kind ) {
120120 if (frame .getFrameDescriptor ().getFrameSlotKind (frameSlot ) == FrameSlotKind .Illegal ) {
121- CompilerDirectives .transferToInterpreter ();
121+ CompilerDirectives .transferToInterpreterAndInvalidate ();
122122 frame .getFrameDescriptor ().setFrameSlotKind (frameSlot , kind );
123123 return true ;
124124 }
You can’t perform that action at this time.
0 commit comments