mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
LibJS: Seal Bytecode Blocks and munmap them (#7919)
This commit is contained in:
parent
064ed8279e
commit
c6ce7c9326
Notes:
sideshowbarker
2024-07-18 12:37:41 +09:00
Author: https://github.com/Hendiadyoin1
Commit: c6ce7c9326
Pull-request: https://github.com/SerenityOS/serenity/pull/7919
2 changed files with 19 additions and 5 deletions
|
@ -42,7 +42,9 @@ public:
|
|||
static NonnullOwnPtr<Block> create();
|
||||
~Block();
|
||||
|
||||
void seal();
|
||||
void seal() const;
|
||||
void unseal();
|
||||
|
||||
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