mescc: Fix obnoxious assignment ERROR message.
* module/mescc/compile.scm (expression->register): Fix assignment ERROR message.
This commit is contained in:
parent
f7e208dd7b
commit
eedf2d2381
|
@ -1364,11 +1364,13 @@
|
|||
(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
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
|
||||
;; 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")
|
||||
|
@ -63,7 +62,6 @@
|
|||
|
||||
;; traditional
|
||||
(define (x86_64:function-preamble info . rest)
|
||||
(format (current-error-port) "rest=~s\n" rest)
|
||||
`(("push___%rbp")
|
||||
("mov____%rsp,%rbp")))
|
||||
|
||||
|
|
Loading…
Reference in a new issue