Skip to content

Commit 7f0ccbf

Browse files
committed
Small changes based on the PR comments.
1 parent bd8bc6f commit 7f0ccbf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/PNodeWithContext.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
public abstract class PNodeWithContext extends Node {
7272
@Child private PythonObjectFactory factory;
7373
@Child private WriteAttributeToObjectNode writeCause;
74-
@Child private LookupAttributeInMRONode getNewFuncNode;
7574
@Child private CallVarargsMethodNode callNode;
7675
@CompilationFinal private ContextReference<PythonContext> contextRef;
7776

@@ -151,7 +150,7 @@ public final PException raiseOSError(VirtualFrame frame, Object[] args) {
151150
CompilerDirectives.transferToInterpreterAndInvalidate();
152151
callNode = insert(CallVarargsMethodNode.create());
153152
}
154-
PBaseException error = (PBaseException) callNode.execute(frame, getBuiltinPythonClass(PythonBuiltinClassType.OSError), args, new PKeyword[]{});
153+
PBaseException error = (PBaseException) callNode.execute(frame, getBuiltinPythonClass(PythonBuiltinClassType.OSError), args, PKeyword.EMPTY_KEYWORDS);
155154
return raise(error);
156155
}
157156

0 commit comments

Comments
 (0)