Skip to content

Commit

Permalink
Remove isWasmMemory assertion in ArrayBuffer::detach
Browse files Browse the repository at this point in the history
  • Loading branch information
heimskr authored Oct 29, 2024
1 parent 46044a8 commit 495b2d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/JavaScriptCore/runtime/ArrayBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ bool ArrayBuffer::transferTo(VM& vm, ArrayBufferContents& result)
// We allow detaching wasm memory ArrayBuffers even though they are locked.
void ArrayBuffer::detach(VM& vm)
{
ASSERT(isWasmMemory());
auto unused = m_contents.detach();
notifyDetaching(vm);
}
Expand Down

0 comments on commit 495b2d1

Please sign in to comment.