1
Fork 0
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:
Leon Albrecht 2021-06-08 17:21:48 +02:00 committed by GitHub
parent 064ed8279e
commit c6ce7c9326
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 5 deletions

View file

@ -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 }; }