1
Fork 0

Add intrinsic_name to get plain intrinsic name

This commit is contained in:
Adrian Palacios 2024-03-08 19:11:59 +00:00
parent 74acabe9b0
commit 68fc92242f
4 changed files with 35 additions and 1 deletions

View file

@ -183,6 +183,7 @@ pub trait Context {
fn vtable_allocation(&self, global_alloc: &GlobalAlloc) -> Option<AllocId>;
fn krate(&self, def_id: DefId) -> Crate;
fn instance_name(&self, def: InstanceDef, trimmed: bool) -> Symbol;
fn intrinsic_name(&self, def: InstanceDef) -> Symbol;
/// Return information about the target machine.
fn target_info(&self) -> MachineInfo;