File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/util Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 44
44
45
45
import com .oracle .graal .python .builtins .PythonBuiltinClassType ;
46
46
import com .oracle .graal .python .builtins .objects .floats .PFloat ;
47
- import com .oracle .graal .python .builtins .objects .str .PString ;
48
47
import com .oracle .graal .python .nodes .PGuards ;
49
48
import com .oracle .graal .python .nodes .PNodeWithContext ;
50
49
import com .oracle .graal .python .nodes .PRaiseNode ;
@@ -80,11 +79,6 @@ static String doString(String x) {
80
79
return x ;
81
80
}
82
81
83
- @ Specialization
84
- static PString doPString (PString x ) {
85
- return x ;
86
- }
87
-
88
82
@ Specialization
89
83
static String doBoolean (boolean x ) {
90
84
return x ? "True" : "False" ;
@@ -108,7 +102,7 @@ static String doDouble(double x) {
108
102
}
109
103
110
104
@ Specialization
111
- Object doGeneric (VirtualFrame frame , Object x ,
105
+ static Object doGeneric (VirtualFrame frame , Object x ,
112
106
@ Cached ("create(__STR__)" ) LookupAndCallUnaryNode callStrNode ,
113
107
@ Cached GetLazyClassNode getClassNode ,
114
108
@ Cached IsSubtypeNode isSubtypeNode ,
You can’t perform that action at this time.
0 commit comments