LibJS: Make Value inherit from a NanBoxedValue

NanBoxedValue is intended to be a GC-allocatable type which is not
specific to javascript, towards the effort of factoring out the GC
implementation from LibJS.
This commit is contained in:
Shannon Booth 2024-11-14 19:40:36 +13:00 committed by Andreas Kling
commit 0bf2a8362a
Notes: github-actions[bot] 2024-11-14 14:39:52 +00:00
6 changed files with 132 additions and 108 deletions

View file

@ -150,7 +150,7 @@ public:
}
}
void visit(Value value);
void visit(NanBoxedValue const& value);
// Allow explicitly ignoring a GC-allocated member in a visit_edges implementation instead
// of just not using it.