remove unused field

This commit is contained in:
Folkert 2020-09-04 23:09:05 +02:00
parent b849a3019f
commit c1fdd0ea7b
2 changed files with 0 additions and 8 deletions

View File

@ -79,11 +79,6 @@ impl<'a, 'ctx> Scope<'a, 'ctx> {
*/
}
pub struct RcFunctions<'ctx> {
inc: FunctionValue<'ctx>,
dec: FunctionValue<'ctx>,
}
pub struct Env<'a, 'ctx, 'env> {
pub arena: &'a Bump,
pub context: &'ctx Context,
@ -93,7 +88,6 @@ pub struct Env<'a, 'ctx, 'env> {
pub ptr_bytes: u32,
pub leak: bool,
pub exposed_to_host: MutSet<Symbol>,
pub rc_functions: MutMap<Layout<'a>, RcFunctions<'ctx>>,
}
impl<'a, 'ctx, 'env> Env<'a, 'ctx, 'env> {

View File

@ -90,7 +90,6 @@ pub fn helper_without_uniqueness<'a>(
ptr_bytes,
leak: leak,
exposed_to_host: MutSet::default(),
rc_functions: MutMap::default(),
};
let mut procs = roc_mono::ir::Procs::default();
let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap();
@ -285,7 +284,6 @@ pub fn helper_with_uniqueness<'a>(
ptr_bytes,
leak: leak,
exposed_to_host: MutSet::default(),
rc_functions: MutMap::default(),
};
let mut procs = roc_mono::ir::Procs::default();
let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap();