From d1e76aaa9de6a48ad31ce4ab17d2e193756ea5ff Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 29 Jan 2020 00:02:30 -0800 Subject: 5946 --- apps/mu | Bin 95349 -> 95349 bytes apps/mu.subx | 12 ++++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/mu b/apps/mu index db003516..df104018 100755 Binary files a/apps/mu and b/apps/mu differ diff --git a/apps/mu.subx b/apps/mu.subx index 5b883b99..fc4dcd12 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -1154,7 +1154,7 @@ test-convert-function-with-local-var-in-block: test-convert-function-with-local-var-in-named-block: # empty function decl => function prologue and epilogue # fn foo { - # foo: { + # bar: { # var x: int # increment x # } @@ -1166,12 +1166,12 @@ test-convert-function-with-local-var-in-named-block: # 89/<- %ebp 4/r32/esp # { # { - # foo:loop: + # bar:loop: # 68/push 0/imm32 # ff 0/subop/increment *(ebp-4) # 81 0/subop/add %esp 4/imm32 # } - # foo:break: + # bar:break: # } # # . epilogue # 89/<- %esp 5/r32/ebp @@ -1187,7 +1187,7 @@ test-convert-function-with-local-var-in-named-block: (clear-stream $_test-output-buffered-file->buffer) # (write _test-input-stream "fn foo {\n") - (write _test-input-stream " foo: {\n") + (write _test-input-stream " bar: {\n") (write _test-input-stream " var x: int\n") (write _test-input-stream " increment x\n") (write _test-input-stream " }\n") @@ -1208,12 +1208,12 @@ test-convert-function-with-local-var-in-named-block: (check-next-stream-line-equal _test-output-stream "89/<- %ebp 4/r32/esp" "F - test-convert-function-with-local-var-in-named-block/3") (check-next-stream-line-equal _test-output-stream "{" "F - test-convert-function-with-local-var-in-named-block/4") (check-next-stream-line-equal _test-output-stream "{" "F - test-convert-function-with-local-var-in-named-block/5") - (check-next-stream-line-equal _test-output-stream "foo:loop:" "F - test-convert-function-with-local-var-in-named-block/6") + (check-next-stream-line-equal _test-output-stream "bar:loop:" "F - test-convert-function-with-local-var-in-named-block/6") (check-next-stream-line-equal _test-output-stream "68/push 0/imm32" "F - test-convert-function-with-local-var-in-named-block/7") (check-next-stream-line-equal _test-output-stream "ff 0/subop/increment *(ebp+0xfffffffc)" "F - test-convert-function-with-local-var-in-named-block/8") (check-next-stream-line-equal _test-output-stream "81 0/subop/add %esp 0x00000004/imm32" "F - test-convert-function-with-local-var-in-named-block/9") (check-next-stream-line-equal _test-output-stream "}" "F - test-convert-function-with-local-var-in-named-block/10") - (check-next-stream-line-equal _test-output-stream "foo:break:" "F - test-convert-function-with-local-var-in-named-block/11") + (check-next-stream-line-equal _test-output-stream "bar:break:" "F - test-convert-function-with-local-var-in-named-block/11") (check-next-stream-line-equal _test-output-stream "}" "F - test-convert-function-with-local-var-in-named-block/12") (check-next-stream-line-equal _test-output-stream "# . epilogue" "F - test-convert-function-with-local-var-in-named-block/13") (check-next-stream-line-equal _test-output-stream "89/<- %esp 5/r32/ebp" "F - test-convert-function-with-local-var-in-named-block/14") -- cgit 1.4.1-2-gfad0