You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/call/special/AbstractCallMethodNode.java
+16-25Lines changed: 16 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -94,29 +94,6 @@ abstract class AbstractCallMethodNode extends PNodeWithContext {
returnnull; // see for example MethodDescriptorRoot and subclasses
106
-
}
107
-
assertbuiltinNodeFactory.getNodeClass().getAnnotationsByType(Builtin.class).length > 0 : "PBuiltinFunction " + func + " is expected to have a Builtin annotated node.";
108
-
if (builtinNodeFactory.getNodeClass().getAnnotationsByType(Builtin.class)[0].needsFrame() && frame == null) {
109
-
returnnull;
110
-
}
111
-
if (clazz.isAssignableFrom(builtinNodeFactory.getNodeClass())) {
returnnull; // see for example MethodDescriptorRoot and subclasses
210
+
}
211
+
assertbuiltinNodeFactory.getNodeClass().getAnnotationsByType(Builtin.class).length > 0 : "PBuiltinFunction " + builtinFunc + " is expected to have a Builtin annotated node.";
212
+
if (builtinNodeFactory.getNodeClass().getAnnotationsByType(Builtin.class)[0].needsFrame() && frame == null) {
213
+
returnnull;
214
+
}
215
+
if (PythonVarargsBuiltinNode.class.isAssignableFrom(builtinNodeFactory.getNodeClass())) {
0 commit comments