Add intrinsic_name
to get plain intrinsic name
This commit is contained in:
parent
74acabe9b0
commit
68fc92242f
4 changed files with 35 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue