mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:37:35 +00:00
LibJS/JIT: Add fast path for cached PutById
This commit is contained in:
parent
b1b2ca1485
commit
55e467c359
7 changed files with 189 additions and 12 deletions
|
@ -42,6 +42,8 @@ public:
|
|||
|
||||
void revoke() { m_ptr = nullptr; }
|
||||
|
||||
static FlatPtr ptr_offset() { return OFFSET_OF(WeakLink, m_ptr); }
|
||||
|
||||
private:
|
||||
template<typename T>
|
||||
explicit WeakLink(T& weakable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue