Skip to content

Commit 7f1995a

Browse files
committed
Fix incorrect parameter type in CallSlotBinaryOpNode
* It replaces callCachedBuiltin so must use the same type.
1 parent d97e144 commit 7f1995a

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/type/slots/TpSlotBinaryOp.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
import com.oracle.graal.python.builtins.objects.type.slots.TpSlot.TpSlotBuiltin;
6868
import com.oracle.graal.python.builtins.objects.type.slots.TpSlot.TpSlotCExtNative;
6969
import com.oracle.graal.python.builtins.objects.type.slots.TpSlot.TpSlotPython;
70-
import com.oracle.graal.python.builtins.objects.type.slots.TpSlotBinaryFunc.TpSlotBinaryFuncBuiltin;
7170
import com.oracle.graal.python.lib.PyObjectRichCompareBool;
7271
import com.oracle.graal.python.nodes.PGuards;
7372
import com.oracle.graal.python.nodes.attributes.LookupAttributeInMRONode;
@@ -300,7 +299,7 @@ static Object callHPy(VirtualFrame frame, Node inliningTarget, TpSlotHPyNative s
300299
@SuppressWarnings("unused")
301300
@Specialization(replaces = "callCachedBuiltin")
302301
@InliningCutoff
303-
static Object callGenericComplexBuiltin(VirtualFrame frame, Node inliningTarget, TpSlotBinaryFuncBuiltin<?> slot,
302+
static Object callGenericComplexBuiltin(VirtualFrame frame, Node inliningTarget, TpSlotBinaryOpBuiltin<?> slot,
304303
Object self, Object selfType, Object other, TpSlot otherSlot, Object otherType, boolean sameTypes, BinaryOpSlot op,
305304
@Cached(inline = false) CallContext callContext,
306305
@Cached InlinedConditionProfile isNullFrameProfile,

0 commit comments

Comments
 (0)