diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-02-27 17:31:35 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-02-27 17:31:35 -0800 |
commit | 6163a5537029fbeb93467aa3656fd8c1f87a8420 (patch) | |
tree | 2386cfaa2df36b38792980819dd811a922bdff0e | |
parent | 2aba46d78163d420fec87a1bd0971fb165af9e02 (diff) | |
download | mu-6163a5537029fbeb93467aa3656fd8c1f87a8420.tar.gz |
6061
-rwxr-xr-x | apps/mu | bin | 158713 -> 158650 bytes | |||
-rw-r--r-- | apps/mu.subx | 44 | ||||
-rw-r--r-- | html/apps/mu.subx.html | 44 |
3 files changed, 44 insertions, 44 deletions
diff --git a/apps/mu b/apps/mu index 6444ea1b..db2d16b5 100755 --- a/apps/mu +++ b/apps/mu Binary files differdiff --git a/apps/mu.subx b/apps/mu.subx index 11114777..241163fd 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -1967,7 +1967,7 @@ test-convert-index-into-array: 5d/pop-to-ebp c3/return -test-convert-type-definition: +test-convert-function-and-type-definition: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1997,27 +1997,27 @@ test-convert-type-definition: #? (rewind-stream _test-output-stream) #? # }}} # check output - (check-next-stream-line-equal _test-output-stream "foo:" "F - test-convert-function-with-user-defined-type/0") - (check-next-stream-line-equal _test-output-stream " # . prologue" "F - test-convert-function-with-user-defined-type/1") - (check-next-stream-line-equal _test-output-stream " 55/push-ebp" "F - test-convert-function-with-user-defined-type/2") - (check-next-stream-line-equal _test-output-stream " 89/<- %ebp 4/r32/esp" "F - test-convert-function-with-user-defined-type/3") - (check-next-stream-line-equal _test-output-stream " {" "F - test-convert-function-with-user-defined-type/4") - (check-next-stream-line-equal _test-output-stream "$foo:0x00000001:loop:" "F - test-convert-function-with-user-defined-type/5") - (check-next-stream-line-equal _test-output-stream " ff 6/subop/push %eax" "F - test-convert-function-with-user-defined-type/6") - (check-next-stream-line-equal _test-output-stream " 8b/copy-from *(ebp+0x00000008) 0x00000000/r32" "F - test-convert-function-with-user-defined-type/7") - (check-next-stream-line-equal _test-output-stream " ff 6/subop/push %ecx" "F - test-convert-function-with-user-defined-type/8") - (check-next-stream-line-equal _test-output-stream " 8d/copy-address *(eax + 0x00000000) 0x00000001/r32" "F - test-convert-function-with-user-defined-type/9") - (check-next-stream-line-equal _test-output-stream " ff 6/subop/push %ecx" "F - test-convert-function-with-user-defined-type/10") - (check-next-stream-line-equal _test-output-stream " 8d/copy-address *(eax + 0x00000004) 0x00000001/r32" "F - test-convert-function-with-user-defined-type/11") - (check-next-stream-line-equal _test-output-stream " 8f 0/subop/pop %ecx" "F - test-convert-function-with-user-defined-type/12") - (check-next-stream-line-equal _test-output-stream " 8f 0/subop/pop %ecx" "F - test-convert-function-with-user-defined-type/13") - (check-next-stream-line-equal _test-output-stream " 8f 0/subop/pop %eax" "F - test-convert-function-with-user-defined-type/14") - (check-next-stream-line-equal _test-output-stream " }" "F - test-convert-function-with-user-defined-type/15") - (check-next-stream-line-equal _test-output-stream "$foo:0x00000001:break:" "F - test-convert-function-with-user-defined-type/16") - (check-next-stream-line-equal _test-output-stream " # . epilogue" "F - test-convert-function-with-user-defined-type/17") - (check-next-stream-line-equal _test-output-stream " 89/<- %esp 5/r32/ebp" "F - test-convert-function-with-user-defined-type/18") - (check-next-stream-line-equal _test-output-stream " 5d/pop-to-ebp" "F - test-convert-function-with-user-defined-type/19") - (check-next-stream-line-equal _test-output-stream " c3/return" "F - test-convert-function-with-user-defined-type/20") + (check-next-stream-line-equal _test-output-stream "foo:" "F - test-convert-function-and-type-definition/0") + (check-next-stream-line-equal _test-output-stream " # . prologue" "F - test-convert-function-and-type-definition/1") + (check-next-stream-line-equal _test-output-stream " 55/push-ebp" "F - test-convert-function-and-type-definition/2") + (check-next-stream-line-equal _test-output-stream " 89/<- %ebp 4/r32/esp" "F - test-convert-function-and-type-definition/3") + (check-next-stream-line-equal _test-output-stream " {" "F - test-convert-function-and-type-definition/4") + (check-next-stream-line-equal _test-output-stream "$foo:0x00000001:loop:" "F - test-convert-function-and-type-definition/5") + (check-next-stream-line-equal _test-output-stream " ff 6/subop/push %eax" "F - test-convert-function-and-type-definition/6") + (check-next-stream-line-equal _test-output-stream " 8b/copy-from *(ebp+0x00000008) 0x00000000/r32" "F - test-convert-function-and-type-definition/7") + (check-next-stream-line-equal _test-output-stream " ff 6/subop/push %ecx" "F - test-convert-function-and-type-definition/8") + (check-next-stream-line-equal _test-output-stream " 8d/copy-address *(eax + 0x00000000) 0x00000001/r32" "F - test-convert-function-and-type-definition/9") + (check-next-stream-line-equal _test-output-stream " ff 6/subop/push %ecx" "F - test-convert-function-and-type-definition/10") + (check-next-stream-line-equal _test-output-stream " 8d/copy-address *(eax + 0x00000004) 0x00000001/r32" "F - test-convert-function-and-type-definition/11") + (check-next-stream-line-equal _test-output-stream " 8f 0/subop/pop %ecx" "F - test-convert-function-and-type-definition/12") + (check-next-stream-line-equal _test-output-stream " 8f 0/subop/pop %ecx" "F - test-convert-function-and-type-definition/13") + (check-next-stream-line-equal _test-output-stream " 8f 0/subop/pop %eax" "F - test-convert-function-and-type-definition/14") + (check-next-stream-line-equal _test-output-stream " }" "F - test-convert-function-and-type-definition/15") + (check-next-stream-line-equal _test-output-stream "$foo:0x00000001:break:" "F - test-convert-function-and-type-definition/16") + (check-next-stream-line-equal _test-output-stream " # . epilogue" "F - test-convert-function-and-type-definition/17") + (check-next-stream-line-equal _test-output-stream " 89/<- %esp 5/r32/ebp" "F - test-convert-function-and-type-definition/18") + (check-next-stream-line-equal _test-output-stream " 5d/pop-to-ebp" "F - test-convert-function-and-type-definition/19") + (check-next-stream-line-equal _test-output-stream " c3/return" "F - test-convert-function-and-type-definition/20") # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp diff --git a/html/apps/mu.subx.html b/html/apps/mu.subx.html index 2d4f8c3d..be2731d8 100644 --- a/html/apps/mu.subx.html +++ b/html/apps/mu.subx.html @@ -1884,7 +1884,7 @@ if ('onhashchange' in window) { <span id="L1967" class="LineNr">1967 </span> 5d/pop-to-ebp <span id="L1968" class="LineNr">1968 </span> c3/return <span id="L1969" class="LineNr">1969 </span> -<span id="L1970" class="LineNr">1970 </span><span class="subxTest">test-convert-type-definition</span>: +<span id="L1970" class="LineNr">1970 </span><span class="subxTest">test-convert-function-and-type-definition</span>: <span id="L1971" class="LineNr">1971 </span> <span class="subxS1Comment"># . prologue</span> <span id="L1972" class="LineNr">1972 </span> 55/push-ebp <span id="L1973" class="LineNr">1973 </span> 89/<- %ebp 4/r32/esp @@ -1909,27 +1909,27 @@ if ('onhashchange' in window) { <span id="L1992" class="LineNr">1992 </span> (<a href='../064write-byte.subx.html#L81'>flush</a> <a href='../064write-byte.subx.html#L360'>_test-output-buffered-file</a>) <span id="L1993" class="Folded">1993 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1999" class="LineNr">1999 </span> <span class="subxComment"># check output</span> -<span id="L2000" class="LineNr">2000 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/0"</span>) -<span id="L2001" class="LineNr">2001 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/1"</span>) -<span id="L2002" class="LineNr">2002 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 55/push-ebp"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/2"</span>) -<span id="L2003" class="LineNr">2003 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 89/<- %ebp 4/r32/esp"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/3"</span>) -<span id="L2004" class="LineNr">2004 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" {"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/4"</span>) -<span id="L2005" class="LineNr">2005 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">"$foo:0x00000001:loop:"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/5"</span>) -<span id="L2006" class="LineNr">2006 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" ff 6/subop/push %eax"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/6"</span>) -<span id="L2007" class="LineNr">2007 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8b/copy-from *(ebp+0x00000008) 0x00000000/r32"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/7"</span>) -<span id="L2008" class="LineNr">2008 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" ff 6/subop/push %ecx"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/8"</span>) -<span id="L2009" class="LineNr">2009 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8d/copy-address *(eax + 0x00000000) 0x00000001/r32"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/9"</span>) -<span id="L2010" class="LineNr">2010 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" ff 6/subop/push %ecx"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/10"</span>) -<span id="L2011" class="LineNr">2011 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8d/copy-address *(eax + 0x00000004) 0x00000001/r32"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/11"</span>) -<span id="L2012" class="LineNr">2012 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8f 0/subop/pop %ecx"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/12"</span>) -<span id="L2013" class="LineNr">2013 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8f 0/subop/pop %ecx"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/13"</span>) -<span id="L2014" class="LineNr">2014 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8f 0/subop/pop %eax"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/14"</span>) -<span id="L2015" class="LineNr">2015 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" }"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/15"</span>) -<span id="L2016" class="LineNr">2016 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">"$foo:0x00000001:break:"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/16"</span>) -<span id="L2017" class="LineNr">2017 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" # . epilogue"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/17"</span>) -<span id="L2018" class="LineNr">2018 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 89/<- %esp 5/r32/ebp"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/18"</span>) -<span id="L2019" class="LineNr">2019 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 5d/pop-to-ebp"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/19"</span>) -<span id="L2020" class="LineNr">2020 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" c3/return"</span> <span class="Constant">"F - test-convert-function-with-user-defined-type/20"</span>) +<span id="L2000" class="LineNr">2000 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/0"</span>) +<span id="L2001" class="LineNr">2001 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-and-type-definition/1"</span>) +<span id="L2002" class="LineNr">2002 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 55/push-ebp"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/2"</span>) +<span id="L2003" class="LineNr">2003 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 89/<- %ebp 4/r32/esp"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/3"</span>) +<span id="L2004" class="LineNr">2004 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" {"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/4"</span>) +<span id="L2005" class="LineNr">2005 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">"$foo:0x00000001:loop:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/5"</span>) +<span id="L2006" class="LineNr">2006 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" ff 6/subop/push %eax"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/6"</span>) +<span id="L2007" class="LineNr">2007 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8b/copy-from *(ebp+0x00000008) 0x00000000/r32"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/7"</span>) +<span id="L2008" class="LineNr">2008 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" ff 6/subop/push %ecx"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/8"</span>) +<span id="L2009" class="LineNr">2009 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8d/copy-address *(eax + 0x00000000) 0x00000001/r32"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/9"</span>) +<span id="L2010" class="LineNr">2010 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" ff 6/subop/push %ecx"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/10"</span>) +<span id="L2011" class="LineNr">2011 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8d/copy-address *(eax + 0x00000004) 0x00000001/r32"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/11"</span>) +<span id="L2012" class="LineNr">2012 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8f 0/subop/pop %ecx"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/12"</span>) +<span id="L2013" class="LineNr">2013 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8f 0/subop/pop %ecx"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/13"</span>) +<span id="L2014" class="LineNr">2014 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 8f 0/subop/pop %eax"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/14"</span>) +<span id="L2015" class="LineNr">2015 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" }"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/15"</span>) +<span id="L2016" class="LineNr">2016 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">"$foo:0x00000001:break:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/16"</span>) +<span id="L2017" class="LineNr">2017 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" # . epilogue"</span> <span class="Constant">"F - test-convert-function-and-type-definition/17"</span>) +<span id="L2018" class="LineNr">2018 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 89/<- %esp 5/r32/ebp"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/18"</span>) +<span id="L2019" class="LineNr">2019 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" 5d/pop-to-ebp"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/19"</span>) +<span id="L2020" class="LineNr">2020 </span> (<a href='../058stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../064write-byte.subx.html#L286'>_test-output-stream</a> <span class="Constant">" c3/return"</span> <span class="Constant">"F - <a href='mu.subx.html#L1970'>test-convert-function-and-type-definition</a>/20"</span>) <span id="L2021" class="LineNr">2021 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L2022" class="LineNr">2022 </span> 89/<- %esp 5/r32/ebp <span id="L2023" class="LineNr">2023 </span> 5d/pop-to-ebp |