Haled Odat
610cf2c3c8
Use `Rc` instead of `Gc` for `CompileTimeEnvironment`s ( #3025 )
...
* Use `Rc` instead of `Gc` for `CompileTimeEnvironment`s
* Add comment
1 year ago
Haled Odat
423f099a41
Remove `mutate_immutable` and `silent` checks from Opcodes ( #3024 )
...
* Generate specialized opcode for binding errors
* Remove `mutate_immutable` and `silent` checks from Opcodes
* rust-fmt
2 years ago
Haled Odat
0c790ac623
Merge `private_names` into `names` constant pool ( #3023 )
...
* Merge `private_names` into `names` constant pool
* Fix clippy lint
2 years ago
Haled Odat
67c5652911
Remove unneded `num_bindings` in `Opcode`s and `CodeBlock` ( #2967 )
...
* Remove redundant `num_bindings` field from `CodeBlock`
* Remove redundant num_bindings parameter from push_function_inherits
* Remove redundant num_bindings operand from environment opcodes
* Make pop_compile_environment() return an index
* Move boolean `CodeBlock` flags to bitflags
* Fix ci
* Add doc
2 years ago
Haled Odat
3f5bad7888
Shrink environment binding locators ( #2950 )
2 years ago
raskad
4a368a2431
Fix `use_self` lints ( #2946 )
2 years ago
raskad
5e9193aced
Implement Private Runtime Environments ( #2929 )
2 years ago
José Julián Espina
06161edcbd
Implement module execution ( #2922 )
...
* Implement draft of module execution
* Fix recursion bug
* Re-enable JsObject's debug printing
* Modify API and document some methods
* Add missing documentation
* Add newline to module scripts
* npx prettier
* Apply reviews
* Add reference to parent struct on source module
* Document more steps on the example
* cargo clippy
* Revert `BoaGc` changes
* Lower `GcRefCell` to `Inner` of `SourceTextModule`
* Replace weak ref to module with strong ref
* Apply review
* Clarify reasoning of manual `Trace` impl
* Apply review pt. 2
* Revert gc changes
2 years ago
José Julián Espina
71ea4d2f74
Separate declarative environment kinds ( #2921 )
...
* Separate declarative environment kinds
* Fix typos
2 years ago