MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / include_inst

Function include_inst

cranelift/codegen/meta/src/gen_asm.rs:11–19  ·  view source on GitHub ↗
(inst: &Inst)

Source from the content-addressed store, hash-verified

9const ASM: &str = "cranelift_assembler_x64";
10
11fn include_inst(inst: &Inst) -> bool {
12 // No need to worry about this instruction shape in ISLE as it's generated
13 // in ABI code, not ISLE.
14 if inst.mnemonic.starts_with("push") {
15 return false;
16 }
17
18 true
19}
20
21/// Returns the Rust type used for the `IsleConstructorRaw` variants.
22///

Callers 2

generate_rust_macroFunction · 0.85
generate_isleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected