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

DCE: Deopt impure statements in If.test #386

Merged
merged 4 commits into from Jan 25, 2017
Merged

DCE: Deopt impure statements in If.test #386

merged 4 commits into from Jan 25, 2017

Commits on Jan 25, 2017

  1. DCE: Deopt impure statements in If.test

    + (Fix #385)
    + Add isPure check to IfStatement visitor in DCE
    + Move IfStatement visitor from Single Pass program.exit to DCEPlugin.visitor - so that it executes for all IfStatements as babel traverse happens and NOT during programPath.traverse. This eliminates the need for a second pass for things like the one mentioned in #385.
    boopathi committed Jan 25, 2017
    Copy the full SHA
    bad06b9 View commit details
    Browse the repository at this point in the history
  2. Add tests

    boopathi committed Jan 25, 2017
    Copy the full SHA
    64db587 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    688c0c5 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    7842575 View commit details
    Browse the repository at this point in the history