LibJS: Make Handle<T> more user-friendly

Allow *handle, !handle, handle.ptr(), assignment from compatible
pointer types, etc. This is in preparation for using Handles in
more generated code.
This commit is contained in:
Andreas Kling 2022-08-06 15:50:38 +02:00
commit 63cc2650e3
Notes: sideshowbarker 2024-07-17 07:32:48 +09:00
2 changed files with 66 additions and 6 deletions

View file

@ -6,7 +6,6 @@
#include <LibJS/Heap/Cell.h>
#include <LibJS/Heap/Handle.h>
#include <LibJS/Heap/Heap.h>
#include <LibJS/Runtime/VM.h>
namespace JS {