mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
LibJS: Make Executable ref-counted and let instruction iterator co-own it
This ensures that the instruction stream pointed at by the instruction iterator remains valid as long as the iterator exists.
This commit is contained in:
parent
b1ee5c8738
commit
c14db6ab12
9 changed files with 61 additions and 26 deletions
|
@ -302,7 +302,7 @@ class MarkedVector;
|
|||
|
||||
namespace Bytecode {
|
||||
class BasicBlock;
|
||||
struct Executable;
|
||||
class Executable;
|
||||
class Generator;
|
||||
class Instruction;
|
||||
class Interpreter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue