Skip to content

Commit 1c3d8e9

Browse files
committed
Remove TruffleBoundary from MarshalModuleBuiltins.LoadsNode#doit.
With a TruffleBoundary the necessary VirtualFrame for releasing the buffer accessed via the `PythonBufferAccessLibrary` cannot be passed in.
1 parent 6e4b79f commit 1c3d8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Object doit(VirtualFrame frame, Object file,
200200
@ArgumentClinic(name = "bytes", conversion = ClinicConversion.ReadableBuffer)
201201
@GenerateNodeFactory
202202
abstract static class LoadsNode extends PythonUnaryClinicBuiltinNode {
203-
@TruffleBoundary
203+
204204
@Specialization(limit = "3")
205205
Object doit(VirtualFrame frame, Object buffer,
206206
@CachedLibrary("buffer") PythonBufferAccessLibrary bufferLib,

0 commit comments

Comments
 (0)