diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-11-30 11:14:49 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-11-30 11:14:49 -0800 |
commit | 931b17daa048abbe837fa575e296b08b3d99315b (patch) | |
tree | 09d6a7342efaac4305dac601aae518f6f18f4095 /apps/factorial3.subx | |
parent | 1d4e6a76efedb756bb4a86ef067593b2b061f594 (diff) | |
download | mu-931b17daa048abbe837fa575e296b08b3d99315b.tar.gz |
5782 - fix a widespread bug with Heap-size
Diffstat (limited to 'apps/factorial3.subx')
-rw-r--r-- | apps/factorial3.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/factorial3.subx b/apps/factorial3.subx index faeb1fc9..6cfd38c3 100644 --- a/apps/factorial3.subx +++ b/apps/factorial3.subx @@ -24,7 +24,7 @@ Entry: # run tests if necessary, compute `factorial(5)` if not 89/<- %ebp 4/r32/esp # initialize heap - (new-segment Heap-size Heap) + (new-segment *Heap-size Heap) # - if argc > 1 and argv[1] == "test", then return run_tests() # if (argc <= 1) goto run-main |