Skip to content

Add missing visit to descriptor in LinearExecutionWalker - #9060

Open
kripken wants to merge 1 commit into
WebAssembly:mainfrom
kripken:linear.br_on_desc
Open

Add missing visit to descriptor in LinearExecutionWalker#9060
kripken wants to merge 1 commit into
WebAssembly:mainfrom
kripken:linear.br_on_desc

Conversation

@kripken

@kripken kripken commented Aug 31, 2026

Copy link
Copy Markdown
Member

I am guessing we added the descriptor much later than this code was
written, and forgot to update it. Unfortuantely it takes a pretty weird
testcase to actually hit a problem...

@kripken
kripken requested a review from a team as a code owner August 31, 2026 19:43
@kripken
kripken requested review from tlively and removed request for a team August 31, 2026 19:43

@tlively tlively 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 % possibly simplifying the test.

;; see no branches to $block, and move the tee out of it, breaking
;; validation.
(block $out (result (ref $struct))
(if

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.

Is the outer if important to the test? I also wonder if we can use a simpler branch than try_table.

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