Fix typo
authorLuke Lau <luke_lau@icloud.com>
Wed, 14 Aug 2019 13:12:09 +0000 (14:12 +0100)
committerLuke Lau <luke_lau@icloud.com>
Wed, 14 Aug 2019 13:12:09 +0000 (14:12 +0100)
codegen.scm

index 9c692e7c1835c337fa9b9fc66812345e36e89c08..9ffee7739248956d3811a45b0205aeb64a683f32 100644 (file)
                                (map cdr stack-sizes)))]
                                        ; 0  2  6  8  16
           [relative-offsets (map - totals (map cdr stack-sizes))]
-          [absolute-offsets (map (lambda (x) (- si x)) b)])
+          [absolute-offsets (map (lambda (x) (- si x)) relative-offsets)])
       (map cons (map car stack-sizes) absolute-offsets)))
   
   (let* (