File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -1336,26 +1336,6 @@ private GetClassNode getClassNode() {
1336
1336
}
1337
1337
}
1338
1338
1339
- @ Builtin (name = "PyTruffle_Set_Ptr" , fixedNumOfPositionalArgs = 2 )
1340
- @ GenerateNodeFactory
1341
- abstract static class PyTruffle_Set_Ptr extends NativeBuiltin {
1342
-
1343
- @ Specialization
1344
- int doPythonObject (PythonAbstractObject nativeWrapper , TruffleObject ptr ) {
1345
- return doNativeWrapper (nativeWrapper .getNativeWrapper (), ptr );
1346
- }
1347
-
1348
- @ Specialization
1349
- int doNativeWrapper (PythonNativeWrapper nativeWrapper , TruffleObject ptr ) {
1350
- if (nativeWrapper .isNative ()) {
1351
- PythonContext .getSingleNativeContextAssumption ().invalidate ();
1352
- } else {
1353
- nativeWrapper .setNativePointer (ptr );
1354
- }
1355
- return 0 ;
1356
- }
1357
- }
1358
-
1359
1339
@ Builtin (name = "PyTruffle_Set_SulongType" , fixedNumOfPositionalArgs = 2 )
1360
1340
@ GenerateNodeFactory
1361
1341
abstract static class PyTruffle_Set_SulongType extends NativeBuiltin {
You can’t perform that action at this time.
0 commit comments