mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 10:41:30 +00:00
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:
parent
c0bcebeb08
commit
0bf2a8362a
Notes:
github-actions[bot]
2024-11-14 14:39:52 +00:00
Author: https://github.com/shannonbooth
Commit: 0bf2a8362a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2334
6 changed files with 132 additions and 108 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue