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

Traverse full chain of nested aggregates when resolving a nested variable #3558

Merged
merged 1 commit into from
Oct 10, 2020

Conversation

kinke
Copy link
Member

@kinke kinke commented Sep 10, 2020

Fixes #3556.

@kinke
Copy link
Member Author

kinke commented Sep 10, 2020

Not too sure about this fix, I'm not really familiar with this vthis business.

} else {
src = DtoLoad(DtoGEP(thisval, 0, getVthisIdx(cd), ".vthis"));
}
src = DtoLoad(DtoGEP(thisptr, 0, getVthisIdx(ad), ".vthis"));
Copy link
Member Author

Choose a reason for hiding this comment

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

This is unrelated but seemed really ugly - loading the whole struct, just to extract the vthis part, instead of loading the vthis part only.

@kinke kinke merged commit 1700e30 into ldc-developers:master Oct 10, 2020
@kinke kinke deleted the fix3556 branch October 10, 2020 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant