Skip to content

[Parser] Parse throw_ref - #6238

Merged
tlively merged 2 commits into
mainfrom
parser-throw-ref
Jan 25, 2024
Merged

[Parser] Parse throw_ref#6238
tlively merged 2 commits into
mainfrom
parser-throw-ref

Conversation

@tlively

Copy link
Copy Markdown
Member

No description provided.

@tlivelytlively mentioned this pull request Jan 25, 2024
@tlively

tlively commented Jan 25, 2024

Copy link
Copy Markdown
MemberAuthor

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@aheejinaheejin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM % comments

Comment threadsrc/parser/contexts.h
}

Result<> makeTryTable(Index pos, std::optional<Name> label, HeapType type,
Result<> makeTryTable(Index pos,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It looks try_table related code has several formatting changes here in this PR. Were they meant to be in #6237 instead?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

oops, yep

Comment threadsrc/wasm.h Outdated
// 'throw_ref' from the new EH proposal
class ThrowRef : public SpecificExpression<Expression::ThrowRefId> {
public:
ThrowRef() {}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
ThrowRef() {}
ThrowRef() =default;

Nit: It looks other classes in this file use this

@tlively

tlively commented Jan 25, 2024

Copy link
Copy Markdown
MemberAuthor

Merge activity

  • Jan 25, 3:32 PM: @tlively started a stack merge that includes this pull request via Graphite.
  • Jan 25, 3:33 PM: Graphite rebased this pull request as part of a merge.
  • Jan 25, 4:00 PM: @tlively merged this pull request with Graphite.

Base automatically changed from parser-try-table to mainJanuary 25, 2024 20:32
@tlively
tlively merged commit 976bd6d into mainJan 25, 2024
@tlively
tlively deleted the parser-throw-ref branch January 25, 2024 21:00
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
@gkdngkdn mentioned this pull request Aug 31, 2024
Sign up for freeto 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.

3 participants

@tlively@kripken@aheejin