File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/lib Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 45
45
46
46
import com .oracle .graal .python .builtins .objects .bytes .PBytesLike ;
47
47
import com .oracle .graal .python .builtins .objects .common .HashingStorageNodes ;
48
- import com .oracle .graal .python .builtins .objects .common .PHashingCollection ;
49
48
import com .oracle .graal .python .builtins .objects .list .PList ;
50
49
import com .oracle .graal .python .builtins .objects .set .PBaseSet ;
51
50
import com .oracle .graal .python .builtins .objects .str .PString ;
@@ -106,12 +105,6 @@ static int doTuple(PTuple object) {
106
105
return object .getSequenceStorage ().length ();
107
106
}
108
107
109
- @ Specialization (guards = "!isAnySet(object)" )
110
- static int doPHashingCollection (Node inliningTarget , PHashingCollection object ,
111
- @ Exclusive @ Cached PRaiseNode .Lazy raise ) {
112
- throw raise .get (inliningTarget ).raise (TypeError , ErrorMessages .IS_NOT_A_SEQUENCE , object );
113
- }
114
-
115
108
@ Specialization (guards = "cannotBeOverridden(object, inliningTarget, getClassNode)" )
116
109
static int doSet (Node inliningTarget , PBaseSet object ,
117
110
@ Shared ("getClass" ) @ SuppressWarnings ("unused" ) @ Cached GetPythonObjectClassNode getClassNode ,
You can’t perform that action at this time.
0 commit comments