-
Notifications
You must be signed in to change notification settings - Fork 777
[Outlining] Add TryTable #7504
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
base: outlining_try
Are you sure you want to change the base?
[Outlining] Add TryTable #7504
Conversation
return Properties::isBranch(curr) || curr->is<Return>() || | ||
curr->is<TryTable>(); |
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.
@aheejin, separately from this PR, I think it would make sense for Properties::isBranch()
to be true
for TryTable
expressions. Is that something you've thought about?
;; Tests TryTable instructions are correctly filtered from being outlined. | ||
;; The (drop (i32.const 0)) instructions were added to form an outlineable | ||
;; sequence with the block that contains the try_table. | ||
(module |
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.
Looks like we need to run the test update script to get the output here.
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.
oops, fixed, thanks
Supports try_table in the stringify of the module, and filters out try_table outlining sequences.