/// Add a call-site record at the current offset.
Add a call-site record at the current offset.
Add a call - site record at the current offset .
pub fn add_call_site(&mut self, srcloc: SourceLoc, opcode: Opcode) {
        debug_assert!(
            opcode.is_call(),
            "adding call site info for a non-call instruction."
        );
        self.call_sites.push(MachCallSite {
            ret_addr: self.data.len() as CodeOffset,
            srcloc,
            opcode,
        });
    }
pub fn add_call_site ( & mut self , srcloc : SourceLoc , opcode : Opcode ) { debug_assert ! ( opcode is_call ( ) " " ) ; self . call_sites . push ( MachCallSite { ret_addr : self . data . len ( ) as CodeOffset , srcloc , opcode , } ) ; }
Add a call-site record at the current offset.
Add a call - site record at the current offset .
&mut self
srcloc
SourceLoc
opcode
Opcode