mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +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:
@@ -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