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

Fix <op>= RHS/LHS eval order #992

Merged
merged 5 commits into from Oct 5, 2016
Merged

Fix <op>= RHS/LHS eval order #992

merged 5 commits into from Oct 5, 2016

Commits on Oct 4, 2016

  1. Copy the full SHA
    8495b26 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    066296d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2016

  1. Better fix with optimization for e.g. x += 4

    Optimization to avoid a temporary for x <op>= y works for any RHS
    which doesn't emit code when evaluated to an ivalue, e.g.:
    
    * A plain constant or any expression which constant folds to a
      constant, e.g.: x += 4 and x += 'foo' + 'bar'.
    
    * A register-bound variable, e.g. x += y.
    
    The optimization doesn't have enough state to detect safe cases
    such as register bound 'y' in: x += y + 1.
    svaarala committed Oct 5, 2016
    Copy the full SHA
    3d644fc View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b3d84ff View commit details
    Browse the repository at this point in the history
  3. Update test262 known issues metadata

    * A few RegExp issues have been resolved via ES6 RegExp syntax.
    svaarala committed Oct 5, 2016
    Copy the full SHA
    49cd5c6 View commit details
    Browse the repository at this point in the history