mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:27:45 +00:00
LibJS: Expose various offsets for GetGlobal JIT fast path
This commit is contained in:
parent
c739c931c1
commit
ddea710933
6 changed files with 11 additions and 0 deletions
|
@ -48,6 +48,8 @@ public:
|
|||
HostDefined* host_defined() { return m_host_defined; }
|
||||
void set_host_defined(OwnPtr<HostDefined> host_defined) { m_host_defined = move(host_defined); }
|
||||
|
||||
static FlatPtr global_environment_offset() { return OFFSET_OF(Realm, m_global_environment); }
|
||||
|
||||
private:
|
||||
Realm() = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue