Skip to content

Commit 367ff50

Browse files
committed
Remove storage_to_arrow method
1 parent ce8c16b commit 367ff50

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

graalpython/com.oracle.graal.python.test/src/tests/util.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,3 @@ def storage_to_native(s):
4545
assert hasattr(__graalpython__, 'storage_to_native'), "Needs to be run with --python.EnableDebuggingBuiltins"
4646
__graalpython__.storage_to_native(s)
4747

48-
49-
def storage_to_arrow(s):
50-
if sys.implementation.name == 'graalpy':
51-
assert hasattr(__graalpython__, 'storage_to_arrow')
52-
__graalpython__.storage_to_arrow(s)

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/GraalPythonModuleBuiltins.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -848,29 +848,6 @@ Object toNative(PSequence sequence) {
848848
}
849849
}
850850

851-
@Builtin(name = "storage_to_arrow", minNumOfPositionalArgs = 1)
852-
@GenerateNodeFactory
853-
abstract static class StorageToArrow extends PythonUnaryBuiltinNode {
854-
855-
@Specialization
856-
static Object doArray(PArray array,
857-
@Shared @Cached ToArrowStorageNode toArrowStorageNode,
858-
@Bind("this") Node inliningTarget) {
859-
ArrowSequenceStorage newStorage = toArrowStorageNode.execute(inliningTarget, array.getSequenceStorage());
860-
array.setSequenceStorage(newStorage);
861-
return array;
862-
}
863-
864-
@Specialization
865-
Object doSequence(PSequence sequence,
866-
@Shared @Cached ToArrowStorageNode toArrowStorageNode,
867-
@Bind("this") Node inliningTarget) {
868-
ArrowSequenceStorage newStorage = toArrowStorageNode.execute(inliningTarget, sequence.getSequenceStorage());
869-
sequence.setSequenceStorage(newStorage);
870-
return sequence;
871-
}
872-
}
873-
874851
@Builtin(name = J_EXTEND, minNumOfPositionalArgs = 1, doc = "Extends Java class and return HostAdapterCLass")
875852
@GenerateNodeFactory
876853
public abstract static class JavaExtendNode extends PythonUnaryBuiltinNode {

0 commit comments

Comments
 (0)