Skip to content

refactor: consolidate unsupported ISLE check into has_unknown_instructions#63

Closed
avrabe wants to merge 1 commit intomainfrom
fix/simplify-unsupported-isle-check
Closed

refactor: consolidate unsupported ISLE check into has_unknown_instructions#63
avrabe wants to merge 1 commit intomainfrom
fix/simplify-unsupported-isle-check

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 27, 2026

Summary

  • Removes has_unsupported_isle_instructions and has_unsupported_isle_instructions_in_block (now redundant after PR feat: complete ISLE pipeline coverage — all standard WASM instructions #53 wired all standard WASM instructions into ISLE)
  • Makes has_unknown_instructions recursive (checks nested blocks)
  • Simplifies 15 call sites from has_unknown_instructions(func) || has_unsupported_isle_instructions(func) to just has_unknown_instructions(func)
  • Net: -15 lines

Closes #60

Test plan

  • All 365 loom-core tests pass
  • CI

🤖 Generated with Claude Code

…own_instructions

After PR #53, all standard WASM instructions are supported by the ISLE
pipeline. has_unsupported_isle_instructions only checked for Unknown
opcodes — identical to has_unknown_instructions but with recursive block
traversal. Consolidate into a single recursive has_unknown_instructions
and remove has_unsupported_isle_instructions (15 call sites simplified).

Closes #60

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe
Copy link
Copy Markdown
Contributor Author

avrabe commented Mar 27, 2026

Superseded by #64 which includes this change plus control-flow-aware env clearing.

@avrabe avrabe closed this Mar 27, 2026
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.

Simplify has_unsupported_isle_instructions now that skip block is minimal

1 participant