You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: improve tree-shaking by propagate const parameter (#5443)
* feat: improve tree-shaking by propagate const parameter
* fix: update old tests (for tree-shaking const param)
* test: add test for tree-shaking by propagate const parameter
* feat&perf: support object param
* style: update coverage
* test: update tree-shake-literal-parameter
* test: update tree-shake top export
* refactor: tree-shaking-literal
* fix: test indent
* perf: remove same object SPJ
getObjectEntity is private, so we can't judge if two object are the same
* refactor: support iife
* test: tree-shake literal iife
* fix: args but not callee should not be optimized
* refactor: some logic to function base with comment
* feat&perf: support implicitly undefined
* test: tree-shake literal conditional
* feat: integrate with optimizeCache
* test: fix
* feat: function argument side effect
* style: revert export default change since deoptimizePath will detect
* feat: support foo(bar);foo(bar);
* test: add more side-effect and top-level test
* 4.13.2
* test: add export default test
* refactor FunctionParameterState and remove initalization
* refactor IIFE
* feat: support export default anonymous
* fix: nested namespace tracking
* feat: support define then export default
* performance
* refactor: UNKNOWN_EXPRESSION
* refactor: reduce complexity
* fix: export default function foo and foo called from same mod
* style: NodeType
* style: remove counter
* perf: cache onlyfunctioncall result
* style&perf: remove args slice
* perf: export default variable
* perf: export default variable
* style: small updates: naming, private...
* perf: LogicalExpression deoptimize cache
* style: remove a condition which is always true
* style: add protected
* style: remove a condition which is always true
* style: remove a condition
* refactor: lazy bind variable
* fix: refresh cache if isReassigned change for ParameterVariable
* fix: make sure deoptimize give a final state
* style: make coverage more happy
---------
Co-authored-by: Lukas Taegert-Atkinson <[email protected]>
Co-authored-by: Lukas Taegert-Atkinson <[email protected]>
0 commit comments