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

Method make_inst_ctor

cranelift/codegen/src/opts.rs:221–226  ·  view source on GitHub ↗
(&mut self, ty: Type, op: &InstructionData)

Source from the content-addressed store, hash-verified

219 }
220
221 fn make_inst_ctor(&mut self, ty: Type, op: &InstructionData) -> Value {
222 trace!("make_inst_ctor: creating {:?}", op);
223 let value = self.ctx.insert_pure_enode(NewOrExistingInst::New(*op, ty));
224 trace!("make_inst_ctor: {:?} -> {}", op, value);
225 value
226 }
227
228 fn make_skeleton_inst_ctor(&mut self, data: &InstructionData) -> Inst {
229 let inst = self.ctx.func.dfg.make_inst(*data);

Callers

nothing calls this directly

Calls 1

insert_pure_enodeMethod · 0.80

Tested by

no test coverage detected