Generalized base:maybe_create_entry_wrapper
This commit is contained in:
parent
b14f3e5490
commit
ac34068ed9
5 changed files with 39 additions and 24 deletions
|
@ -425,6 +425,14 @@ impl MiscMethods<'tcx> for CodegenCx<'ll, 'tcx> {
|
|||
fn codegen_unit(&self) -> &Arc<CodegenUnit<'tcx>> {
|
||||
&self.codegen_unit
|
||||
}
|
||||
|
||||
fn set_frame_pointer_elimination(&self, llfn: &'ll Value) {
|
||||
attributes::set_frame_pointer_elimination(self, llfn)
|
||||
}
|
||||
|
||||
fn apply_target_cpu_attr(&self, llfn: &'ll Value) {
|
||||
attributes::apply_target_cpu_attr(self, llfn)
|
||||
}
|
||||
}
|
||||
|
||||
impl IntrinsicDeclarationMethods<'tcx> for CodegenCx<'b, 'tcx> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue