Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Require re-running expansion after expanding to an array #177

Merged
merged 1 commit into from
Apr 7, 2017

Conversation

TimNN
Copy link
Contributor

@TimNN TimNN commented Apr 6, 2017

Fixes #176.

When something like struct Foo { int bar[10]; } was expanded, this would generate getelementptr to the array bar and then a load from that pointer. The code failed to recognise that a load of an array needed to be further expanded, causing the assertion later.

@TimNN TimNN mentioned this pull request Apr 6, 2017
5 tasks
@kripken
Copy link
Member

kripken commented Apr 7, 2017

Nice, thanks!

@kripken kripken merged commit 43fb415 into emscripten-core:incoming Apr 7, 2017
@TimNN TimNN deleted the esr-array-in-struct branch April 7, 2017 04:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants