mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:38:12 +00:00
LibJS/Bytecode: Make primitive bigints be constants
Instead of emitting a NewBigInt instruction to construct a primitive bigint from a parsed literal, we now instantiate the BigInt on the heap during codegen.
This commit is contained in:
parent
46d209c55b
commit
5813df21c8
4 changed files with 4 additions and 40 deletions
|
@ -82,7 +82,6 @@
|
|||
O(Mov) \
|
||||
O(Mul) \
|
||||
O(NewArray) \
|
||||
O(NewBigInt) \
|
||||
O(NewClass) \
|
||||
O(NewFunction) \
|
||||
O(NewObject) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue