mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibJS: Remove the seal/unseal of Bytecode::Block again
This partially reverts c6ce7c9326
.
The munmap part of that change was good, but we can't seal the blocks
since that breaks NewString and other ops that have String members.
This commit is contained in:
parent
9bed2e4f4a
commit
949ceedaed
2 changed files with 6 additions and 16 deletions
|
@ -42,8 +42,7 @@ public:
|
|||
static NonnullOwnPtr<Block> create();
|
||||
~Block();
|
||||
|
||||
void seal() const;
|
||||
void unseal();
|
||||
void seal();
|
||||
|
||||
void dump() const;
|
||||
ReadonlyBytes instruction_stream() const { return ReadonlyBytes { m_buffer, m_buffer_size }; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue