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

[Parser] Parse br_table #6098

Merged
merged 2 commits into from
Nov 15, 2023
Merged

[Parser] Parse br_table #6098

merged 2 commits into from
Nov 15, 2023

Conversation

tlively
Copy link
Member

@tlively tlively commented Nov 10, 2023

No description provided.

@tlively tlively requested a review from ashleynh November 10, 2023 00:56
@tlively tlively mentioned this pull request Nov 10, 2023
@@ -1200,7 +1200,19 @@ template<typename Ctx> Result<> makeBreak(Ctx& ctx, Index pos) {
}

template<typename Ctx> Result<> makeBreakTable(Ctx& ctx, Index pos) {
return ctx.in.err("unimplemented instruction");
std::vector<typename Ctx::LabelIdxT> labels;
while (true) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd add a comment here explaining the logic and the intended outcome of parsing at least one label.

@tlively
Copy link
Member Author

tlively commented Nov 15, 2023

Merge activity

  • Nov 14, 7:40 PM: @tlively started a stack merge that includes this pull request via Graphite.
  • Nov 14, 7:40 PM: Graphite rebased this pull request as part of a merge.
  • Nov 14, 7:41 PM: @tlively merged this pull request with Graphite.

Base automatically changed from parser-ref-func to main November 15, 2023 00:40
@tlively tlively merged commit 8eb4899 into main Nov 15, 2023
0 of 13 checks passed
@tlively tlively deleted the parser-br-table branch November 15, 2023 00:41
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
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.

2 participants