1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +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:
Andreas Kling 2023-09-26 14:42:30 +02:00
parent 3887b840a3
commit c833885fb5
5 changed files with 13 additions and 9 deletions

View file

@ -90,8 +90,6 @@ public:
auto& instruction_stream_iterator() const { return m_pc; }
DeprecatedString debug_position() const;
Optional<Value>& this_value() { return m_this_value; }
void visit_edges(Cell::Visitor&);
private:
@ -116,7 +114,6 @@ private:
Span<Value> m_current_call_frame;
Optional<BasicBlock const*> m_pending_jump;
BasicBlock const* m_scheduled_jump { nullptr };
Optional<Value> m_this_value;
Optional<Value> m_return_value;
Executable* m_current_executable { nullptr };
BasicBlock const* m_current_block { nullptr };