-
Notifications
You must be signed in to change notification settings - Fork 786
[Parser] Parse rec groups #4785
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
Conversation
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
src/wasm/wat-parser.cpp
Outdated
@@ -350,9 +351,13 @@ struct ParseTypeDefsCtx { | |||
// Parse the names of types and fields as we go. | |||
std::vector<TypeNames> names; | |||
|
|||
// The index of the type definition we are parsing. | |||
// The index of the type definition (i.e. rec group) we are parsing. This is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be rephrased as "index is the rec group index, typeIndex is the type index inside the rec group"? If so, index => recIndex maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I stopped using parseDefs
for type parsing, which let me remove this useless field entirely and rename typeIndex
to just index
.
Graphite Merge Job Current status: ✅ Merged This pull request was successfully merged as part of a stack. This comment was auto-generated by Graphite. Job Reference: wHPoO07O2vDdfBC3TH7I |
No description provided.