Skip to content

Minor optimizer simplification opportunity #4367

@aidanhs

Description

@aidanhs

kripken/cashew@f729e38#diff-3

The 'true' appears to be inherited from the uglifyjs 1 parser where it could be replaced by one of ['+', '-', '/', '*', ...] to represent the corresponding assignment operators. I don't see any of these complex operators in the asm.js spec - http://asmjs.org/spec/latest/

Two questions:

  1. Am I correct in saying that those assignment operators aren't used in asm.js?
  2. Is it desirable to remain compatible with the uglifyjs parser? (fair enough if so)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions