mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:07:36 +00:00
LibJS/JIT: Store the running ExecutionContext& in a dedicated register
This commit is contained in:
parent
5479bb6ac9
commit
e1e7e696ac
3 changed files with 8 additions and 2 deletions
|
@ -38,6 +38,7 @@ private:
|
|||
static constexpr auto REGISTER_ARRAY_BASE = Assembler::Reg::RBX;
|
||||
static constexpr auto LOCALS_ARRAY_BASE = Assembler::Reg::R14;
|
||||
static constexpr auto CACHED_ACCUMULATOR = Assembler::Reg::R13;
|
||||
static constexpr auto RUNNING_EXECUTION_CONTEXT_BASE = Assembler::Reg::R15;
|
||||
# endif
|
||||
|
||||
# define JS_ENUMERATE_COMMON_BINARY_OPS_WITHOUT_FAST_PATH(O) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue