mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +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
|
@ -34,6 +34,8 @@ struct PropertyLookupCache {
|
|||
};
|
||||
|
||||
struct GlobalVariableCache : public PropertyLookupCache {
|
||||
static FlatPtr environment_serial_number_offset() { return OFFSET_OF(GlobalVariableCache, environment_serial_number); }
|
||||
|
||||
u64 environment_serial_number { 0 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue