Fix typo
[scheme.git] / codegen.scm
index 9c692e7c1835c337fa9b9fc66812345e36e89c08..c514cd1b4d34853523928c00314a0ffdb5825b90 100644 (file)
@@ -23,8 +23,8 @@
       (apply max sizes)))
   
   (case type
-    ['Int wordsize]
-    ['Bool wordsize]
+    ['int wordsize]
+    ['bool wordsize]
     [else
      (let ([adt (assoc type data-layouts)])
        (if adt
                                (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* (