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

Fix ref.func forward-declared function check #2099

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

wenyongh
Copy link
Contributor

@wenyongh wenyongh commented Apr 3, 2023

When ref.func opcode refers to a function whose function index no smaller than
current function, the destination function should be forward-declared: it is declared
in the table element segments, or is declared in the export list.

@wenyongh wenyongh merged commit e1d0c27 into bytecodealliance:main Apr 3, 2023
@wenyongh wenyongh deleted the fix_ref_func_check branch April 4, 2023 04:21
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
When ref.func opcode refers to a function whose function index no smaller than
current function, the destination func should be forward-declared: it is declared
in the table element segments, or is declared in the export list.
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.

None yet

1 participant