Fix minor order peeve

This commit is contained in:
Rerumu 2022-06-17 22:05:57 -04:00
parent f52033036a
commit 2fae09e149

View File

@ -723,8 +723,8 @@ impl<'a> Builder<'a> {
} }
fn build_stat_list(&mut self, list: &[Instruction], num_result: usize) -> StatList { fn build_stat_list(&mut self, list: &[Instruction], num_result: usize) -> StatList {
self.nested_unreachable = 0;
self.target.block_data = BlockData::Forward { num_result }; self.target.block_data = BlockData::Forward { num_result };
self.nested_unreachable = 0;
for inst in list.iter().take(list.len() - 1) { for inst in list.iter().take(list.len() - 1) {
if self.nested_unreachable == 0 { if self.nested_unreachable == 0 {