last changes for today
This commit is contained in:
parent
db79468435
commit
a45ff692a6
|
@ -3023,6 +3023,9 @@ impl<'a> CodeGenerator<'a> {
|
||||||
function_air_tree_body.traverse_tree_with(&mut |air_tree, _| {
|
function_air_tree_body.traverse_tree_with(&mut |air_tree, _| {
|
||||||
erase_opaque_type_operations(air_tree, &self.data_types);
|
erase_opaque_type_operations(air_tree, &self.data_types);
|
||||||
monomorphize(air_tree, &mono_types);
|
monomorphize(air_tree, &mono_types);
|
||||||
|
});
|
||||||
|
|
||||||
|
function_air_tree_body.traverse_tree_with(&mut |air_tree, _| {
|
||||||
remove_tuple_data_casts(air_tree);
|
remove_tuple_data_casts(air_tree);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -3050,6 +3053,9 @@ impl<'a> CodeGenerator<'a> {
|
||||||
function_air_tree_body.traverse_tree_with(&mut |air_tree, _| {
|
function_air_tree_body.traverse_tree_with(&mut |air_tree, _| {
|
||||||
erase_opaque_type_operations(air_tree, &self.data_types);
|
erase_opaque_type_operations(air_tree, &self.data_types);
|
||||||
monomorphize(air_tree, &mono_types);
|
monomorphize(air_tree, &mono_types);
|
||||||
|
});
|
||||||
|
|
||||||
|
function_air_tree_body.traverse_tree_with(&mut |air_tree, _| {
|
||||||
remove_tuple_data_casts(air_tree);
|
remove_tuple_data_casts(air_tree);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1381,7 +1381,7 @@ impl AirTree {
|
||||||
) {
|
) {
|
||||||
let mut index_count = IndexCounter::new();
|
let mut index_count = IndexCounter::new();
|
||||||
tree_path.push(current_depth, depth_index);
|
tree_path.push(current_depth, depth_index);
|
||||||
|
with(self, tree_path);
|
||||||
match self {
|
match self {
|
||||||
AirTree::Statement {
|
AirTree::Statement {
|
||||||
statement,
|
statement,
|
||||||
|
@ -1772,7 +1772,6 @@ impl AirTree {
|
||||||
},
|
},
|
||||||
a => unreachable!("GOT THIS {:#?}", a),
|
a => unreachable!("GOT THIS {:#?}", a),
|
||||||
}
|
}
|
||||||
with(self, tree_path);
|
|
||||||
tree_path.pop();
|
tree_path.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue