mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
remove unused field
This commit is contained in:
parent
b849a3019f
commit
c1fdd0ea7b
2 changed files with 0 additions and 8 deletions
|
@ -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 struct Env<'a, 'ctx, 'env> {
|
||||||
pub arena: &'a Bump,
|
pub arena: &'a Bump,
|
||||||
pub context: &'ctx Context,
|
pub context: &'ctx Context,
|
||||||
|
@ -93,7 +88,6 @@ pub struct Env<'a, 'ctx, 'env> {
|
||||||
pub ptr_bytes: u32,
|
pub ptr_bytes: u32,
|
||||||
pub leak: bool,
|
pub leak: bool,
|
||||||
pub exposed_to_host: MutSet<Symbol>,
|
pub exposed_to_host: MutSet<Symbol>,
|
||||||
pub rc_functions: MutMap<Layout<'a>, RcFunctions<'ctx>>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a, 'ctx, 'env> Env<'a, 'ctx, 'env> {
|
impl<'a, 'ctx, 'env> Env<'a, 'ctx, 'env> {
|
||||||
|
|
|
@ -90,7 +90,6 @@ pub fn helper_without_uniqueness<'a>(
|
||||||
ptr_bytes,
|
ptr_bytes,
|
||||||
leak: leak,
|
leak: leak,
|
||||||
exposed_to_host: MutSet::default(),
|
exposed_to_host: MutSet::default(),
|
||||||
rc_functions: MutMap::default(),
|
|
||||||
};
|
};
|
||||||
let mut procs = roc_mono::ir::Procs::default();
|
let mut procs = roc_mono::ir::Procs::default();
|
||||||
let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap();
|
let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap();
|
||||||
|
@ -285,7 +284,6 @@ pub fn helper_with_uniqueness<'a>(
|
||||||
ptr_bytes,
|
ptr_bytes,
|
||||||
leak: leak,
|
leak: leak,
|
||||||
exposed_to_host: MutSet::default(),
|
exposed_to_host: MutSet::default(),
|
||||||
rc_functions: MutMap::default(),
|
|
||||||
};
|
};
|
||||||
let mut procs = roc_mono::ir::Procs::default();
|
let mut procs = roc_mono::ir::Procs::default();
|
||||||
let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap();
|
let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue