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

@@ -31,4 +31,6 @@ pub trait MiscMethods<'tcx>: Backend<'tcx> {
fn sess(&self) -> &Session;
fn stats(&self) -> &RefCell<Stats>;
fn codegen_unit(&self) -> &Arc<CodegenUnit<'tcx>>;
fn set_frame_pointer_elimination(&self, llfn: Self::Value);
fn apply_target_cpu_attr(&self, llfn: Self::Value);
}