rustc_codegen_ssa: only create backend BasicBlocks as-needed.

This commit is contained in:
Eduard-Mihai Burtescu
2021-05-06 17:37:19 +03:00
parent 7dc9ff5c62
commit 402e9efc56
7 changed files with 50 additions and 51 deletions

View File

@@ -291,6 +291,5 @@ pub trait BuilderMethods<'a, 'tcx>:
) -> Self::Value;
fn zext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value;
unsafe fn delete_basic_block(&mut self, bb: Self::BasicBlock);
fn do_not_inline(&mut self, llret: Self::Value);
}