mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 15:19:16 +00:00
LibJS: Keep cached this
value in a call frame register
Just moving more things to call frame registers..
This commit is contained in:
parent
3887b840a3
commit
c833885fb5
Notes:
sideshowbarker
2024-07-17 03:30:41 +09:00
Author: https://github.com/awesomekling
Commit: c833885fb5
Pull-request: https://github.com/SerenityOS/serenity/pull/21241
5 changed files with 13 additions and 9 deletions
|
@ -179,8 +179,6 @@ Interpreter::ValueAndFrame Interpreter::run_and_return_frame(Executable& executa
|
|||
else
|
||||
push_call_frame(make<CallFrame>(), executable.number_of_registers);
|
||||
|
||||
TemporaryChange restore_this_value { m_this_value, {} };
|
||||
|
||||
for (;;) {
|
||||
auto pc = InstructionStreamIterator { m_current_block->instruction_stream(), m_current_executable };
|
||||
TemporaryChange temp_change { m_pc, Optional<InstructionStreamIterator&>(pc) };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue