mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Drop unused mono::Expr::Pointer
This commit is contained in:
parent
bfe7c1b330
commit
f9e013793c
3 changed files with 2 additions and 6 deletions
|
@ -11,7 +11,6 @@ pub enum Layout<'a> {
|
|||
Builtin(Builtin<'a>),
|
||||
Struct(&'a [(Lowercase, Layout<'a>)]),
|
||||
Tag(&'a [Layout<'a>]),
|
||||
Pointer(&'a Layout<'a>),
|
||||
/// A function. The types of its arguments, then the type of its return value.
|
||||
FunctionPointer(&'a [Layout<'a>], &'a Layout<'a>),
|
||||
}
|
||||
|
@ -103,7 +102,7 @@ impl<'a> Layout<'a> {
|
|||
|
||||
sum
|
||||
}
|
||||
Pointer(_) | FunctionPointer(_, _) => pointer_size,
|
||||
FunctionPointer(_, _) => pointer_size,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue