mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
LibJS: Seal Bytecode Blocks and munmap them (#7919)
This commit is contained in:
parent
064ed8279e
commit
c6ce7c9326
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