Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg committed Jul 27, 2017
1 parent e51dffd commit 332708f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proposals/multi-value/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ An iterative factorial funciton whose loop doesn't use locals, but uses argument
```
(func $fac (param i64) (result i64)
(i64.const 1) (get_local 0)
(loop $l (param i64 i64)
(loop $l (param i64 i64) (result i64)
(pick 1) (pick 1) (i64.mul)
(pick 1) (i64.const 1) (i64.sub)
(pick 0) (i32.const 0) (i64.gt_u)
(pick 0) (i64.const 0) (i64.gt_u)
(br_if $l)
(pick 1) (return)
)
Expand Down

0 comments on commit 332708f

Please sign in to comment.