1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:17:35 +00:00

LibJS: Add Cell::interpreter() convenience helper

This allows you to go from any Cell* to the Interpreter.
This commit is contained in:
Andreas Kling 2020-03-15 15:08:27 +01:00
parent fbefb19e10
commit 9b4358e150
3 changed files with 9 additions and 0 deletions

View file

@ -52,6 +52,7 @@ public:
virtual void visit_children(Visitor&) {}
Heap& heap();
Interpreter& interpreter();
private:
bool m_mark { false };