mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +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
|
@ -37,7 +37,12 @@
|
|||
O(Return) \
|
||||
O(BitwiseAnd) \
|
||||
O(BitwiseOr) \
|
||||
O(BitwiseXor)
|
||||
O(BitwiseXor) \
|
||||
O(BitwiseNot) \
|
||||
O(Not) \
|
||||
O(UnaryPlus) \
|
||||
O(UnaryMinus) \
|
||||
O(Typeof)
|
||||
|
||||
namespace JS::Bytecode {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue