* module/mescc/compile.scm (expression->register): Fix assignment
ERROR message.
(when (and (equal? op "=")
(not (= size size-b))
(not (and (or (= size 1) (= size 2))
- (or (= size-b 2) (= size-b reg-size))))
+ (or (= size-b 2) (= size-b 4) (= size-b reg-size))))
+ (not (and (= size 2)
+ (= size-b 4)))
(not (and (= size 2)
(= size-b reg-size)))
(not (and (= size reg-size)
- (or (= size-b 1) (= size-b 2)))))
+ (or (= size-b 1) (= size-b 2) (= size-b 4)))))
(stderr "ERROR assign: ~a" (with-output-to-string (lambda () (pretty-print-c99 o))))
(stderr " size[~a]:~a != size[~a]:~a\n" rank size rank-b size-b))
(pmatch a
;; AMD
(define (x86_64:function-preamble info . rest)
- (format (current-error-port) "rest=~s\n" rest)
`(("push___%rbp")
("mov____%rsp,%rbp")
("sub____$i32,%rbp" "%0x80")
;; traditional
(define (x86_64:function-preamble info . rest)
- (format (current-error-port) "rest=~s\n" rest)
`(("push___%rbp")
("mov____%rsp,%rbp")))