T0b1-iOS opened PR #6344 from T0b1-iOS:fix-emit-pretty-print to bytecodealliance:main:
Fixes #6333
It seems that when the
next_fixed_nonallocatablefunction was added to check if the register allocator allocates these correctly, the check for the case that no allocation is present (e.g. in case the instructions are pretty printed when tracing is enabled) was missed. It is present in the getters below.I added a check for that and now the tests don't panic anymore when tracing is enabled.
T0b1-iOS requested abrown for a review on PR #6344.
T0b1-iOS requested wasmtime-compiler-reviewers for a review on PR #6344.
cfallin submitted PR review:
Yep, this makes sense; thanks for catching this!
cfallin has enabled auto merge for PR #6344.
cfallin merged PR #6344.
Last updated: Dec 13 2025 at 21:03 UTC