|
225 | 225 | import com.oracle.graal.python.nodes.object.GetClassNode;
|
226 | 226 | import com.oracle.graal.python.nodes.object.IsBuiltinClassProfile;
|
227 | 227 | import com.oracle.graal.python.nodes.subscript.SliceLiteralNode;
|
228 |
| -import com.oracle.graal.python.nodes.truffle.PythonArithmeticTypes; |
229 | 228 | import com.oracle.graal.python.nodes.util.CannotCastException;
|
230 | 229 | import com.oracle.graal.python.nodes.util.CastToJavaIntExactNode;
|
231 | 230 | import com.oracle.graal.python.nodes.util.CastToJavaStringNode;
|
|
258 | 257 | import com.oracle.truffle.api.dsl.ReportPolymorphism;
|
259 | 258 | import com.oracle.truffle.api.dsl.ReportPolymorphism.Megamorphic;
|
260 | 259 | import com.oracle.truffle.api.dsl.Specialization;
|
261 |
| -import com.oracle.truffle.api.dsl.TypeSystemReference; |
262 | 260 | import com.oracle.truffle.api.frame.VirtualFrame;
|
263 | 261 | import com.oracle.truffle.api.interop.InteropLibrary;
|
264 | 262 | import com.oracle.truffle.api.interop.UnsupportedMessageException;
|
@@ -345,7 +343,6 @@ protected static boolean hasByteAttr(Object object, LookupAttributeInMRONode loo
|
345 | 343 |
|
346 | 344 | @Builtin(name = BYTEARRAY, minNumOfPositionalArgs = 1, takesVarArgs = true, takesVarKeywordArgs = true, constructsClass = PythonBuiltinClassType.PByteArray)
|
347 | 345 | @GenerateNodeFactory
|
348 |
| - @TypeSystemReference(PythonArithmeticTypes.class) |
349 | 346 | public abstract static class ByteArrayNode extends PythonBuiltinNode {
|
350 | 347 | @Specialization
|
351 | 348 | public PByteArray setEmpty(Object cls, @SuppressWarnings("unused") Object arg) {
|
@@ -2222,7 +2219,6 @@ public PFunction function(Object cls, Object method_def, Object def, Object name
|
2222 | 2219 | // type(object, bases, dict)
|
2223 | 2220 | @Builtin(name = TYPE, minNumOfPositionalArgs = 2, maxNumOfPositionalArgs = 4, takesVarKeywordArgs = true, constructsClass = PythonBuiltinClassType.PythonClass)
|
2224 | 2221 | @GenerateNodeFactory
|
2225 |
| - @TypeSystemReference(PythonArithmeticTypes.class) |
2226 | 2222 | public abstract static class TypeNode extends PythonBuiltinNode {
|
2227 | 2223 | private static final long SIZEOF_PY_OBJECT_PTR = Long.BYTES;
|
2228 | 2224 |
|
@@ -2929,7 +2925,6 @@ private ForeignCallContext ensureForeignCallContext() {
|
2929 | 2925 | "\n" +
|
2930 | 2926 | "The name must be a string; the optional doc argument can have any type.")
|
2931 | 2927 | @GenerateNodeFactory
|
2932 |
| - @TypeSystemReference(PythonArithmeticTypes.class) |
2933 | 2928 | public abstract static class ModuleNode extends PythonBuiltinNode {
|
2934 | 2929 | @Specialization
|
2935 | 2930 | @SuppressWarnings("unused")
|
|
0 commit comments