mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Update wasm backend
This commit is contained in:
parent
6859c2e15c
commit
9d70c45781
6 changed files with 303 additions and 261 deletions
|
@ -2730,6 +2730,16 @@ impl<'a> Layout<'a> {
|
|||
other => *other,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn runtime_representation_in<I>(layout: InLayout<'a>, interner: &I) -> InLayout<'a>
|
||||
where
|
||||
I: LayoutInterner<'a>,
|
||||
{
|
||||
match interner.get(layout) {
|
||||
Layout::LambdaSet(lambda_set) => lambda_set.runtime_representation(),
|
||||
_ => layout,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> Layout<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue