mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibJS: Implement 'this' in the bytecode VM
ThisExpression now emits a "ResolveThisBinding" bytecode op, which simply loads the VM's current 'this' binding into the accumulator.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 01:56:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3117182c2ed
@@ -61,6 +61,7 @@
|
||||
O(PushDeclarativeEnvironment) \
|
||||
O(PutById) \
|
||||
O(PutByValue) \
|
||||
O(ResolveThisBinding) \
|
||||
O(Return) \
|
||||
O(RightShift) \
|
||||
O(SetVariable) \
|
||||
|
||||
Reference in New Issue
Block a user