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

[EH] Support Stack IR for try_table #6231

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jan 22, 2024

No description provided.

@aheejin aheejin requested review from kripken and tlively January 22, 2024 21:46
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

lgtm % comment

@@ -2709,14 +2713,15 @@ StackInst* StackIRGenerator::makeStackInst(StackInst::Op op,
ret->origin = origin;
auto stackType = origin->type;
if (origin->is<Block>() || origin->is<Loop>() || origin->is<If>() ||
origin->is<Try>()) {
origin->is<Try>() || origin->is<TryTable>()) {
Copy link
Member

Choose a reason for hiding this comment

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

I think we can replace this condition with Properties::isControlFlowStructure perhaps? It's equivalent and I think it has the right meaning here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@aheejin aheejin merged commit c23253f into WebAssembly:main Jan 23, 2024
14 checks passed
@aheejin aheejin deleted the new_eh_stackir branch January 23, 2024 03:26
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
@gkdn gkdn mentioned this pull request Aug 31, 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.

3 participants