Skip to content

Added public methods to iterate all blocks of a local function + Floating point check#235

Open
reuvenpo wants to merge 7 commits intowasm-bindgen:mainfrom
scrtlabs:iter-func-builder-arena
Open

Added public methods to iterate all blocks of a local function + Floating point check#235
reuvenpo wants to merge 7 commits intowasm-bindgen:mainfrom
scrtlabs:iter-func-builder-arena

Conversation

@reuvenpo
Copy link
Copy Markdown

@reuvenpo reuvenpo commented Aug 7, 2022

This PR adds two methods to iterate over all the blocks in a LocalFunction. This allows making per-block transformations, or simple full-function analysis, without having to manually navigate the function's execution branches to find all reachable blocks. CC #234

2022-08-10 update: I added a floating point check to modules. I believe it is exhaustive but I'd love to get a review :)

@reuvenpo reuvenpo force-pushed the iter-func-builder-arena branch from fbe7bf9 to 7eb38d9 Compare August 7, 2022 15:06
@reuvenpo reuvenpo force-pushed the iter-func-builder-arena branch from 7eb38d9 to ff51789 Compare August 7, 2022 15:07
@reuvenpo
Copy link
Copy Markdown
Author

seems like the CI is failing due to issues that are unrelated to my additions

@reuvenpo reuvenpo changed the title added public methods to iterate all blocks of a local function added public methods to iterate all blocks of a local function + Floating point check Aug 10, 2022
@reuvenpo reuvenpo changed the title added public methods to iterate all blocks of a local function + Floating point check Added public methods to iterate all blocks of a local function + Floating point check Aug 10, 2022
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.

1 participant