-
-
Notifications
You must be signed in to change notification settings - Fork 755
feat(ecmascript): add property_read_side_effects to MayHaveSideEffectsContext
#10129
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
feat(ecmascript): add property_read_side_effects to MayHaveSideEffectsContext
#10129
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #10129 will degrade performances by 3.31%Comparing Summary
Benchmarks breakdown
|
0a2f7c0 to
d54867d
Compare
2c586f7 to
ce73ad3
Compare
ce73ad3 to
45c3045
Compare
d54867d to
ac2ecbb
Compare
45c3045 to
b0e1322
Compare
Merge activity
|
…ectsContext` (#10129) For [`treeshake.propertyReadSideEffects`](https://rollupjs.org/configuration-options/#treeshake-propertyreadsideeffects) support. Currently, `PropertyReadSideEffects::OnlyMemberPropertyAccess` and `PropertyReadSideEffects::All` works the same.
b0e1322 to
ef3451c
Compare
…pertyAccess` (#13348) In #10129, I introduced `PropertyReadSideEffects`. In that, I added `PropertyReadSideEffects::OnlyMemberPropertyAccess`. This was because I thought this was the default behavior of Rollup at that time. But after re-reading the Rollup's code and checking the behavior in REPL while reviewing rolldown/rolldown#5945, I noticed that I was wrong. Since this was added solely for Rolldown to add support for `treeshake.propertyReadSideEffects` and it's not useful for that usecase, I removed the value. cc @IWANABETHATGUY

For
treeshake.propertyReadSideEffectssupport.Currently,
PropertyReadSideEffects::OnlyMemberPropertyAccessandPropertyReadSideEffects::Allworks the same.