Files
wasmtime/cranelift/codegen
Chris Fallin f489b83835 Cranelift: add support for cold blocks.
This PR adds a flag to each block that can be set via the frontend/builder
interface that indicates that the block will not be frequently
executed. As such, the compiler backend should place the block "out of
line" in the final machine code, so that the ordinary, more frequent
execution path that excludes the block does not have to jump around it.

This is useful for adding handlers for exceptional conditions
(slow-paths, guard violations) in a way that minimizes performance cost.

Fixes #2747.
2022-01-19 12:17:41 -08:00
..
2021-10-10 14:19:08 +02:00
2021-12-13 13:47:30 -06:00
2021-12-13 13:47:30 -06:00

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