mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibJS: Handle Call
s argument range during EliminateLoads
pass
Otherwise we could forget to emit stores those registers, thinking that they are only directly accessed.
This commit is contained in:
parent
f52e3e540f
commit
b26dad3d62
2 changed files with 7 additions and 0 deletions
|
@ -794,6 +794,9 @@ public:
|
|||
Register this_value() const { return m_this_value; }
|
||||
Optional<StringTableIndex> const& expression_string() const { return m_expression_string; }
|
||||
|
||||
Register first_argument() const { return m_first_argument; }
|
||||
u32 argument_count() const { return m_argument_count; }
|
||||
|
||||
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
|
||||
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
|
||||
void replace_references_impl(BasicBlock const&, BasicBlock const&) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue