mirror of
https://github.com/edg-l/edgarluque.com.git
synced 2024-11-09 17:48:22 +00:00
fixes
This commit is contained in:
parent
8c58493f04
commit
c1e7a459e7
|
@ -201,7 +201,7 @@ module.body().append_operation(func::func(
|
||||||
location,
|
location,
|
||||||
));
|
));
|
||||||
|
|
||||||
block.append_operation(r#while(
|
block.append_operation(scf::r#while(
|
||||||
&[initial.result(0).unwrap().into()],
|
&[initial.result(0).unwrap().into()],
|
||||||
&[float_type],
|
&[float_type],
|
||||||
{
|
{
|
||||||
|
@ -220,7 +220,7 @@ module.body().append_operation(func::func(
|
||||||
location,
|
location,
|
||||||
));
|
));
|
||||||
|
|
||||||
block.append_operation(super::condition(
|
block.append_operation(scf::condition(
|
||||||
condition.result(0).unwrap().into(),
|
condition.result(0).unwrap().into(),
|
||||||
&[result.result(0).unwrap().into()],
|
&[result.result(0).unwrap().into()],
|
||||||
location,
|
location,
|
||||||
|
@ -239,7 +239,7 @@ module.body().append_operation(func::func(
|
||||||
location,
|
location,
|
||||||
));
|
));
|
||||||
|
|
||||||
block.append_operation(r#yield(
|
block.append_operation(scf::r#yield(
|
||||||
&[result.result(0).unwrap().into()],
|
&[result.result(0).unwrap().into()],
|
||||||
location,
|
location,
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in a new issue