Files
wasmtime/cranelift/codegen
Chris Fallin 953f83e6ac Cranelift: disallow marking entry block 'cold'. (#4659)
This is a nonsensical constraint: the entry block must come first in the
compiled code's layout, so it cannot also be sunk to the end of the
function.

This PR modifies the CLIF verifier to disallow this situation entirely.
It also adds an assert during final block-order computation to catch the
problem (and avoid a silent miscompile) even if the verifier is
disabled.

Fixes #4656.
2022-08-09 11:52:30 -07:00
..
2021-10-10 14:19:08 +02:00
2022-08-04 20:02:19 -05:00
2022-07-07 12:54:39 -07:00
2022-08-04 20:02:19 -05:00

This crate contains the core Cranelift code generator. It translates code from an intermediate representation into executable machine code.