File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/list Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ public PNone removeLong(PList list, long value) {
559
559
}
560
560
561
561
@ Specialization (guards = "isDoubleStorage(list)" )
562
- public PNone removeLong (PList list , double value ) {
562
+ public PNone removeDouble (PList list , double value ) {
563
563
DoubleSequenceStorage store = (DoubleSequenceStorage )list .getSequenceStorage ();
564
564
for (int index = 0 ; index < store .length (); index ++) {
565
565
if (value == store .getDoubleItemNormalized (index )) {
@@ -572,7 +572,6 @@ public PNone removeLong(PList list, double value) {
572
572
573
573
@ Specialization (guards = "isNotSpecialCase(list, value)" )
574
574
public PNone remove (PList list , Object value ,
575
- @ Cached ("createBinaryProfile()" ) ConditionProfile errorProfile ,
576
575
@ Cached ("create(__EQ__, __EQ__, __EQ__)" ) BinaryComparisonNode eqNode ) {
577
576
int len = list .len ();
578
577
for (int i = 0 ; i < len ; i ++) {
You can’t perform that action at this time.
0 commit comments