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

This commit exposes the necessary aarch64 pieces to be used by Winch for binary emission.
This commit is contained in:
Saúl Cabrera
2023-01-13 14:46:25 -05:00
committed by GitHub
parent 7682a40d62
commit f0979af157
7 changed files with 98 additions and 18 deletions

View File

@@ -675,7 +675,8 @@ impl EmitState {
pub struct EmitInfo(settings::Flags);
impl EmitInfo {
pub(crate) fn new(flags: settings::Flags) -> Self {
/// Create a constant state for emission of instructions.
pub fn new(flags: settings::Flags) -> Self {
Self(flags)
}
}