diff options
Diffstat (limited to 'html/apps/factorial.mu.html')
-rw-r--r-- | html/apps/factorial.mu.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/apps/factorial.mu.html b/html/apps/factorial.mu.html index f5e15b4e..e9f25b90 100644 --- a/html/apps/factorial.mu.html +++ b/html/apps/factorial.mu.html @@ -54,12 +54,12 @@ if ('onhashchange' in window) { <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/master/apps/factorial.mu'>https://github.com/akkartik/mu/blob/master/apps/factorial.mu</a> <pre id='vimCodeElement'> -<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> main<span class="PreProc"> -> </span>result/ebx: int <span class="Delimiter">{</span> -<span id="L2" class="LineNr"> 2 </span> var tmp/eax: int <span class="Special"><-</span> <a href='../a.subx.html#L15'>factorial</a><span class="Constant"> 5</span> +<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <a href='../mu-init-test.subx.html#L7'>main</a><span class="PreProc"> -> </span>result/ebx: int <span class="Delimiter">{</span> +<span id="L2" class="LineNr"> 2 </span> var tmp/eax: int <span class="Special"><-</span> factorial<span class="Constant"> 5</span> <span id="L3" class="LineNr"> 3 </span> result <span class="Special"><-</span> copy tmp <span id="L4" class="LineNr"> 4 </span><span class="Delimiter">}</span> <span id="L5" class="LineNr"> 5 </span> -<span id="L6" class="LineNr"> 6 </span><span class="PreProc">fn</span> <a href='../a.subx.html#L15'>factorial</a> n: int<span class="PreProc"> -> </span>result/eax: int <span class="Delimiter">{</span> +<span id="L6" class="LineNr"> 6 </span><span class="PreProc">fn</span> factorial n: int<span class="PreProc"> -> </span>result/eax: int <span class="Delimiter">{</span> <span id="L7" class="LineNr"> 7 </span> compare n<span class="Constant"> 1</span> <span id="L8" class="LineNr"> 8 </span> <span class="Delimiter">{</span> <span id="L9" class="LineNr"> 9 </span> break-if<span class="PreProc">-></span> @@ -69,7 +69,7 @@ if ('onhashchange' in window) { <span id="L13" class="LineNr">13 </span> break-if-<= <span id="L14" class="LineNr">14 </span> var tmp/ecx: int <span class="Special"><-</span> copy n <span id="L15" class="LineNr">15 </span> tmp <span class="Special"><-</span> decrement -<span id="L16" class="LineNr">16 </span> result <span class="Special"><-</span> <a href='../a.subx.html#L15'>factorial</a> tmp +<span id="L16" class="LineNr">16 </span> result <span class="Special"><-</span> factorial tmp <span id="L17" class="LineNr">17 </span> result <span class="Special"><-</span> multiply n <span id="L18" class="LineNr">18 </span> <span class="Delimiter">}</span> <span id="L19" class="LineNr">19 </span><span class="Delimiter">}</span> |