Skip to content

Commit a703d75

Browse files
committed
fix invalid library usage
1 parent 5007465 commit a703d75

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/exception

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/exception/PBaseException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ String getExceptionMessage(@CachedLibrary("this") PythonObjectLibrary lib) {
315315

316316
@ExportMessage
317317
int getExceptionExitStatus(
318-
@CachedLibrary("this") PythonObjectLibrary lib,
318+
@CachedLibrary(limit = "2") PythonObjectLibrary lib,
319319
@Cached ReadAttributeFromDynamicObjectNode readNode,
320320
@Shared("unsupportedProfile") @Cached BranchProfile unsupportedProfile) throws UnsupportedMessageException {
321321
if (getExceptionType(lib) == ExceptionType.EXIT) {

0 commit comments

Comments
 (0)