Skip to content

[pull] swiftwasm from main #2862

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

Merged
merged 9 commits into from
Mar 15, 2021
Merged

[pull] swiftwasm from main #2862

merged 9 commits into from
Mar 15, 2021

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 14, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

kastiglione and others added 9 commits March 10, 2021 17:11
…n_by_wrapper

If only the init-closure is used and the setter-closure is dead, the argument to the setter partial_apply also needs to be delete - in case it's a load.
Otherwise it would cause a memory lifetime failure.
And rename MemoryDataflow -> BitDataflow.

MemoryLifetime contained MemoryLocations, MemoryDataflow and the MemoryLifetimeVerifier.
Three independent things, for which it makes sense to have them in three separated files.

NFC.
The MemoryLifetimeVerifier has to ignore locations with empty types, e.g. and empty tuple.
So far, the check for empty types didn't check recursively, so it missed e.g. "((), ())"
…red-switch-default-warning

[ClangImporter] Fix -Wcovered-switch-default warning (NFC)
improvements/fixes in RawSILInstLowering and MemoryLifetimeVerifier
[SR-14282] Compiler crash in DictionaryTrapsObjC.swift
@pull pull bot merged commit 129e912 into swiftwasm Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants