Skip to content

Conversation

philberty
Copy link
Member

This is the initial setup for the pass to convert to GIMPLE. On thing that needed done in type resolution was to find all locals per block as these must be setup up front for GIMPLE but this was easy enough with our visitor pattern.

Note the creation of a cscope.h (needs a better name) but something like this might be useful for our static analysis passes to be more unified.

stmt->accept_vis (*this);
}

auto localMap = localsPerBlock.Pop ();
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 seems to be a C++17 thing and gcc is warning about it. Not sure if we should allow it or now. Might be something to create an issue out of for what C++ version will we limit ourselves to.

@philberty philberty merged commit 5832aa4 into master May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant