cranelift-codegen(x64): Expose CallInfo (#6005)
This commit exposes the `CallInfo` struct, needed by Winch to emit function calls.
This commit is contained in:
@@ -30,7 +30,7 @@ use args::*;
|
||||
// `Inst` is defined inside ISLE as `MInst`. We publicly re-export it here.
|
||||
pub use super::lower::isle::generated_code::MInst as Inst;
|
||||
|
||||
// Out-of-line data for calls, to keep the size of `Inst` downn.
|
||||
/// Out-of-line data for calls, to keep the size of `Inst` down.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct CallInfo {
|
||||
/// Register uses of this call.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! X86_64-bit Instruction Set Architecture.
|
||||
|
||||
pub use self::inst::{args, EmitInfo, EmitState, Inst};
|
||||
pub use self::inst::{args, CallInfo, EmitInfo, EmitState, Inst};
|
||||
|
||||
use super::{OwnedTargetIsa, TargetIsa};
|
||||
use crate::dominator_tree::DominatorTree;
|
||||
|
||||
@@ -135,7 +135,7 @@ fn indirect_signature(isa: &dyn TargetIsa, wasm: &WasmFuncType) -> ir::Signature
|
||||
return sig;
|
||||
}
|
||||
|
||||
/// Returns the cranelift fucntion signature of the function specified.
|
||||
/// Returns the cranelift function signature of the function specified.
|
||||
///
|
||||
/// Note that this will determine the calling convention for the function, and
|
||||
/// namely includes an optimization where functions never exported from a module
|
||||
|
||||
Reference in New Issue
Block a user