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

Backend: Simplify HeapInd #2064

Merged
merged 5 commits into from
Oct 23, 2020
Merged

Backend: Simplify HeapInd #2064

merged 5 commits into from
Oct 23, 2020

Conversation

nomeata
Copy link
Collaborator

@nomeata nomeata commented Oct 22, 2020

the “HeapInd” way of handling variables (a local that points to a
MutBox, used for captured mutable data) was overly general, and that
caused bugs in @osa1’s refactorings in #1931.

I think I had fancy plans here, but right now I am not using any other
offset than MutBox.field, so let’s simplify the code accordingly.

the “HeapInd” way of handling variables (a local that points to a
MutBox, used for captured mutable data) was overly general, and that
caused bugs in @osa1’s refactorings in #1931.

I think I had fancy plans here, but right now I am not using any other
`offset` than `MutBox.field`, so let’s simplify the code accordingly.
@nomeata nomeata added the automerge-squash When ready, merge (using squash) label Oct 22, 2020
@dfinity-ci
Copy link

This PR does not affect the produced WebAssembly code.

@nomeata nomeata requested review from crusso and ggreif October 22, 2020 14:55
which means more of #1931 might
work
@nomeata nomeata force-pushed the joachim/simpler-HeapInd branch from d7a1079 to 1764904 Compare October 22, 2020 17:28
Co-authored-by: Gabor Greif <gabor@dfinity.org>
@ggreif ggreif changed the title Backend: Simpilify HeapInd Backend: Simplify HeapInd Oct 23, 2020
Copy link
Contributor

@ggreif ggreif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mergify mergify bot merged commit 699f820 into master Oct 23, 2020
@mergify mergify bot deleted the joachim/simpler-HeapInd branch October 23, 2020 21:26
@mergify mergify bot removed the automerge-squash When ready, merge (using squash) label Oct 23, 2020
@osa1
Copy link
Contributor

osa1 commented Oct 26, 2020

LGTM, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants