(&self, tokens: &[RvInstruction])
| 952 | #[track_caller] |
| 953 | pub fn compile_ir_to_assembly_with_tokens( |
| 954 | &self, |
| 955 | ir: &IrProgram, |
| 956 | ) -> (String, Vec<RvInstruction>) { |
| 957 | let mut compiler = CompilerRv64::new(); |
| 958 | compiler.set_peephole(self.peephole); |
| 959 | compiler.set_register_allocation(self.register_allocation); |
| 960 | compiler.set_omit_frame_pointer(self.omit_frame_pointer); |
| 961 | let (asm, tokens) = compiler.compile_with_tokens(ir); |
| 962 | let stem = if let Some(existing) = self.current_artifact_stem() { |