Remove layouts from the mono AST for expects

This actually isn't needed, because the backends must lookup the layout
from the environment anyway. So it's enough to lookup the symbol and
find its layout, there is no need to additionally store it.
This commit is contained in:
Ayaz Hafiz 2022-12-14 14:09:47 -06:00
parent f2ffda6d05
commit 1962f2045e
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 2 additions and 36 deletions

View file

@ -2586,7 +2586,6 @@ pub fn build_exp_stmt<'a, 'ctx, 'env>(
condition: cond_symbol,
region,
lookups,
layouts: _,
remainder,
} => {
let bd = env.builder;
@ -2655,7 +2654,6 @@ pub fn build_exp_stmt<'a, 'ctx, 'env>(
condition: cond_symbol,
region,
lookups,
layouts: _,
remainder,
} => {
let bd = env.builder;