Remove DeclareMethods

This commit is contained in:
khyperia
2020-09-18 13:06:53 +02:00
parent a0925fba74
commit 0bc405e352
6 changed files with 62 additions and 66 deletions

View File

@@ -19,4 +19,6 @@ pub trait MiscMethods<'tcx>: BackendTypes {
fn set_frame_pointer_elimination(&self, llfn: Self::Function);
fn apply_target_cpu_attr(&self, llfn: Self::Function);
fn create_used_variable(&self);
/// Declares the extern "C" main function for the entry point. Returns None if the symbol already exists.
fn declare_c_main(&self, fn_type: Self::Type) -> Option<Self::Function>;
}