mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
LibJS/Bytecode: Remove the PushDeclarativeEnvironment instruction
This commit is contained in:
parent
c810d4784e
commit
dd466ec83a
3 changed files with 0 additions and 39 deletions
|
@ -1319,21 +1319,6 @@ private:
|
|||
Label m_continuation_label;
|
||||
};
|
||||
|
||||
class PushDeclarativeEnvironment final : public Instruction {
|
||||
public:
|
||||
explicit PushDeclarativeEnvironment(HashMap<u32, Variable> variables)
|
||||
: Instruction(Type::PushDeclarativeEnvironment, sizeof(*this))
|
||||
, m_variables(move(variables))
|
||||
{
|
||||
}
|
||||
|
||||
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
|
||||
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
|
||||
|
||||
private:
|
||||
HashMap<u32, Variable> m_variables;
|
||||
};
|
||||
|
||||
class GetIterator final : public Instruction {
|
||||
public:
|
||||
GetIterator(IteratorHint hint = IteratorHint::Sync)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue