Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value refactor #498

Merged
merged 1 commit into from
Jun 23, 2020
Merged

Value refactor #498

merged 1 commit into from
Jun 23, 2020

Commits on Jun 23, 2020

  1. Value refactor

     - Refactor `String` => `Rc<str>`
     - Refactor `Symbol` => `Rc<Symbol>`
     - Refactor `BigInt` => `RcBigInt`
     - Changed function signature, from `&mut Value` to `&Value`
     - Removed `Interpreter::value_to_rust_number()
     - Abstracted `Gc<GcCell<Object>>` to `GcObject`
     - Removed unnecessary `Box`s in global environment
     - Extracted `extensible` from internal slots
     - Made `to_primitive` throw errors
     - Removed `strict` parameter in `SameValue` function.
     - The `SameValue` function is not dependent on strict mode.
    HalidOdat committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    ca0fa50 View commit details
    Browse the repository at this point in the history