mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
LibJS: Add bytecode instructions for a bunch of unary operators
~, !, +, -, typeof, and void.
This commit is contained in:
parent
54fc7079c6
commit
fa9bad912e
5 changed files with 175 additions and 1 deletions
|
@ -584,6 +584,7 @@ public:
|
|||
|
||||
virtual Value execute(Interpreter&, GlobalObject&) const override;
|
||||
virtual void dump(int indent) const override;
|
||||
virtual Optional<Bytecode::Register> generate_bytecode(Bytecode::Generator&) const override;
|
||||
|
||||
private:
|
||||
UnaryOp m_op;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue