1
Fork 0
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:
Linus Groh 2021-06-07 19:53:47 +01:00
parent 54fc7079c6
commit fa9bad912e
5 changed files with 175 additions and 1 deletions

View file

@ -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 {