(
&self,
func: &Function,
domtree: &DominatorTree,
ctrl_plane: &mut ControlPlane,
)
| 58 | } |
| 59 | |
| 60 | fn compile_vcode( |
| 61 | &self, |
| 62 | func: &Function, |
| 63 | domtree: &DominatorTree, |
| 64 | ctrl_plane: &mut ControlPlane, |
| 65 | ) -> CodegenResult<(VCode<inst::Inst>, regalloc2::Output)> { |
| 66 | // This performs lowering to VCode, register-allocates the code, computes |
| 67 | // block layout and finalizes branches. The result is ready for binary emission. |
| 68 | let emit_info = EmitInfo::new(self.flags.clone(), self.x64_flags.clone()); |
| 69 | let sigs = SigSet::new::<abi::X64ABIMachineSpec>(func, &self.flags)?; |
| 70 | let abi = abi::X64Callee::new(func, self, &self.x64_flags, &sigs)?; |
| 71 | compile::compile::<Self>(func, domtree, self, abi, emit_info, sigs, ctrl_plane) |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | impl TargetIsa for X64Backend { |
no test coverage detected