mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
LibJS: Add LoadArgument bytecode instruction for fast argument access
This is generated for Identifier nodes that represent a function argument variable. It loads a given argument index from the current call frame into the accumulator.
This commit is contained in:
parent
848944113c
commit
91fbeeab72
4 changed files with 31 additions and 1 deletions
|
@ -61,6 +61,7 @@
|
|||
O(Decrement) \
|
||||
O(Throw) \
|
||||
O(PushLexicalEnvironment) \
|
||||
O(LoadArgument) \
|
||||
O(EnterUnwindContext) \
|
||||
O(LeaveUnwindContext) \
|
||||
O(ContinuePendingUnwind) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue