This commit is contained in:
Edgar 2023-11-27 15:11:36 +01:00
parent 8c58493f04
commit c1e7a459e7
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387

View file

@ -201,7 +201,7 @@ module.body().append_operation(func::func(
location,
));
block.append_operation(r#while(
block.append_operation(scf::r#while(
&[initial.result(0).unwrap().into()],
&[float_type],
{
@ -220,7 +220,7 @@ module.body().append_operation(func::func(
location,
));
block.append_operation(super::condition(
block.append_operation(scf::condition(
condition.result(0).unwrap().into(),
&[result.result(0).unwrap().into()],
location,
@ -239,7 +239,7 @@ module.body().append_operation(func::func(
location,
));
block.append_operation(r#yield(
block.append_operation(scf::r#yield(
&[result.result(0).unwrap().into()],
location,
));