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/runtime Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ public final class IndirectCallData {
5959
6060 private IndirectCallData () {
6161 this .nodeRef = new TruffleWeakReference <>(null );
62+ nativeCodeDoesntNeedMyFrame = Assumption .ALWAYS_VALID ;
63+ nativeCodeDoesntNeedExceptionState = Assumption .ALWAYS_VALID ;
6264 }
6365
6466 public IndirectCallData (Node node ) {
@@ -124,7 +126,6 @@ public static void setEncapsulatingNeedsToPassExceptionState(Node callNode) {
124126 }
125127
126128 private Assumption needNotPassFrameAssumption () {
127- assert !isUncached ();
128129 if (nativeCodeDoesntNeedMyFrame == null ) {
129130 CompilerDirectives .transferToInterpreterAndInvalidate ();
130131 nativeCodeDoesntNeedMyFrame = Truffle .getRuntime ().createAssumption ();
@@ -133,7 +134,6 @@ private Assumption needNotPassFrameAssumption() {
133134 }
134135
135136 private Assumption needNotPassExceptionAssumption () {
136- assert !isUncached ();
137137 if (nativeCodeDoesntNeedExceptionState == null ) {
138138 CompilerDirectives .transferToInterpreterAndInvalidate ();
139139 nativeCodeDoesntNeedExceptionState = Truffle .getRuntime ().createAssumption ();
You can’t perform that action at this time.
0 commit comments