|
201 | 201 | import com.oracle.graal.python.builtins.objects.type.PythonManagedClass;
|
202 | 202 | import com.oracle.graal.python.builtins.objects.type.TypeNodes;
|
203 | 203 | import com.oracle.graal.python.builtins.objects.type.TypeNodes.GetMroStorageNode;
|
204 |
| -import com.oracle.graal.python.builtins.objects.type.TypeNodes.GetTypeFlagsNode; |
205 | 204 | import com.oracle.graal.python.nodes.ErrorMessages;
|
206 | 205 | import com.oracle.graal.python.nodes.PGuards;
|
207 | 206 | import com.oracle.graal.python.nodes.PNodeWithContext;
|
@@ -1501,26 +1500,6 @@ int tbHere(PFrame frame,
|
1501 | 1500 | }
|
1502 | 1501 | }
|
1503 | 1502 |
|
1504 |
| - @Builtin(name = "PyTruffle_GetTpFlags", minNumOfPositionalArgs = 1) |
1505 |
| - @GenerateNodeFactory |
1506 |
| - abstract static class PyTruffle_GetTpFlags extends NativeBuiltin { |
1507 |
| - |
1508 |
| - @Specialization(limit = "1") |
1509 |
| - static long doPythonObject(PythonNativeWrapper nativeWrapper, |
1510 |
| - @Shared("getTypeFlagsNode") @Cached GetTypeFlagsNode getTypeFlagsNode, |
1511 |
| - @Shared("objectLib") @CachedLibrary(limit = "3") PythonObjectLibrary objectLib, |
1512 |
| - @CachedLibrary("nativeWrapper") PythonNativeWrapperLibrary lib) { |
1513 |
| - return getTypeFlagsNode.execute(objectLib.getLazyPythonClass(lib.getDelegate(nativeWrapper))); |
1514 |
| - } |
1515 |
| - |
1516 |
| - @Specialization |
1517 |
| - static long doPythonObject(PythonAbstractObject object, |
1518 |
| - @Shared("getTypeFlagsNode") @Cached GetTypeFlagsNode getTypeFlagsNode, |
1519 |
| - @Shared("objectLib") @CachedLibrary(limit = "3") PythonObjectLibrary objectLib) { |
1520 |
| - return getTypeFlagsNode.execute(objectLib.getLazyPythonClass(object)); |
1521 |
| - } |
1522 |
| - } |
1523 |
| - |
1524 | 1503 | @Builtin(name = "PyTruffle_Set_SulongType", minNumOfPositionalArgs = 2)
|
1525 | 1504 | @GenerateNodeFactory
|
1526 | 1505 | abstract static class PyTruffle_Set_SulongType extends NativeBuiltin {
|
|
0 commit comments