mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47: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
|
@ -30,6 +30,7 @@ struct ExecutionContext {
|
|||
|
||||
void visit_edges(Cell::Visitor&);
|
||||
|
||||
static FlatPtr realm_offset() { return OFFSET_OF(ExecutionContext, realm); }
|
||||
static FlatPtr lexical_environment_offset() { return OFFSET_OF(ExecutionContext, lexical_environment); }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue