cranelift-codegen: Prepare cranelift codegen for usage from Winch (#5413)

This commit prepares the x64 pieces from cranelift codegen to be consumed by
Winch for binary emission. This change doesn't introduce or modifies
functionality it makes the necessary pieces for binary emission public.

This change also improves documentation where applicable.
This commit is contained in:
Saúl Cabrera
2022-12-12 12:01:06 -05:00
committed by GitHub
parent 122872fb0c
commit 7adf3cacc5
5 changed files with 119 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
//! X86_64-bit Instruction Set Architecture.
use self::inst::EmitInfo;
pub use self::inst::{args, EmitInfo, EmitState, Inst};
use super::TargetIsa;
use crate::ir::{condcodes::IntCC, Function, Type};