1
Fork 0

Generalized base:maybe_create_entry_wrapper

This commit is contained in:
Denis Merigoux 2018-09-24 15:26:39 +02:00 committed by Eduard-Mihai Burtescu
parent b14f3e5490
commit ac34068ed9
5 changed files with 39 additions and 24 deletions

View file

@ -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> {