kaseyc opened PR #2614 from nop
to main
:
By contract, the result of gen_nop() must be nonzero:
https://github.com/bytecodealliance/wasmtime/blob/503129ad9103028cd0b56ae969848ec1bbf25bc7/cranelift/codegen/src/machinst/mod.rs#L181Otherwise. emit could get stuck in an infinite loop.
This should not change generated code at all since all generated instructions will still be 1-15 bytes.
kaseyc updated PR #2614 from nop
to main
:
By contract, the result of gen_nop() must be nonzero:
https://github.com/bytecodealliance/wasmtime/blob/503129ad9103028cd0b56ae969848ec1bbf25bc7/cranelift/codegen/src/machinst/mod.rs#L181Otherwise. emit could get stuck in an infinite loop.
This should not change generated code at all since all generated instructions will still be 1-15 bytes.
kaseyc updated PR #2614 from nop
to main
:
By contract, the result of gen_nop() must be nonzero:
https://github.com/bytecodealliance/wasmtime/blob/503129ad9103028cd0b56ae969848ec1bbf25bc7/cranelift/codegen/src/machinst/mod.rs#L181Otherwise. emit could get stuck in an infinite loop.
This should not change generated code at all since all generated instructions will still be 1-15 bytes.
cfallin submitted PR Review.
cfallin merged PR #2614.
Last updated: Dec 23 2024 at 13:07 UTC