File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -1583,19 +1583,17 @@ Object call(Object self, PBuiltinFunction function) {
1583
1583
}
1584
1584
}
1585
1585
1586
- public abstract static class PExternalFunctionWrapper extends PythonBuiltinObject {
1586
+ public abstract static class PExternalFunctionWrapper extends Object implements TruffleObject {
1587
1587
1588
1588
private final Supplier <ConvertArgsToSulongNode > convertArgsNodeSupplier ;
1589
1589
private final Supplier <CheckFunctionResultNode > checkFunctionResultNodeSupplier ;
1590
1590
1591
1591
public PExternalFunctionWrapper (Supplier <ConvertArgsToSulongNode > convertArgsNodeSupplier ) {
1592
- super (PythonBuiltinClassType .PythonObject , PythonBuiltinClassType .PythonObject .getInstanceShape ());
1593
1592
this .convertArgsNodeSupplier = convertArgsNodeSupplier ;
1594
1593
this .checkFunctionResultNodeSupplier = DefaultCheckFunctionResultNodeGen ::create ;
1595
1594
}
1596
1595
1597
1596
public PExternalFunctionWrapper (Supplier <ConvertArgsToSulongNode > convertArgsNodeSupplier , Supplier <CheckFunctionResultNode > checkFunctionResultNodeSupplier ) {
1598
- super (PythonBuiltinClassType .PythonObject , PythonBuiltinClassType .PythonObject .getInstanceShape ());
1599
1597
this .convertArgsNodeSupplier = convertArgsNodeSupplier ;
1600
1598
this .checkFunctionResultNodeSupplier = checkFunctionResultNodeSupplier ;
1601
1599
}
@@ -1611,11 +1609,6 @@ protected ConvertArgsToSulongNode createConvertArgsToSulongNode() {
1611
1609
public CheckFunctionResultNode getCheckFunctionResultNode () {
1612
1610
return checkFunctionResultNodeSupplier .get ();
1613
1611
}
1614
-
1615
- @ Override
1616
- public int compareTo (Object o ) {
1617
- throw CompilerDirectives .shouldNotReachHere ();
1618
- }
1619
1612
}
1620
1613
1621
1614
@ Builtin (name = "METH_DIRECT" )
You can’t perform that action at this time.
0 commit comments