mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
Remove special optimizer and backend support for pairs
* module/language/cps/compile-bytecode.scm (compile-function): * module/language/cps/cse.scm (compute-equivalent-subexpressions): * module/language/cps/dce.scm (compute-live-code): * module/language/cps/effects-analysis.scm: * module/language/cps/types.scm: Remove support for cons, car, etc primcalls. * module/language/cps/effects-analysis.scm (&car, &cdr): Remove undefined exports. * module/system/vm/assembler.scm: Remove emit-cons, etc exports.
This commit is contained in:
parent
49fa4980bb
commit
abfe04835b
6 changed files with 2 additions and 44 deletions
|
@ -253,16 +253,13 @@ false. It could be that both true and false proofs are available."
|
|||
(add-definitions
|
||||
((b <- box #f o) (o <- box-ref #f b))
|
||||
((box-set! #f b o) (o <- box-ref #f b))
|
||||
((o <- cons #f x y) (x <- car #f o)
|
||||
(y <- cdr #f o))
|
||||
|
||||
((scm-set! p s i x) (x <- scm-ref p s i))
|
||||
((scm-set!/tag p s x) (x <- scm-ref/tag p s))
|
||||
((scm-set!/immediate p s x) (x <- scm-ref/immediate p s))
|
||||
((word-set! p s i x) (x <- word-ref p s i))
|
||||
((word-set!/immediate p s x) (x <- word-ref/immediate p s))
|
||||
|
||||
((set-car! #f o x) (x <- car #f o))
|
||||
((set-cdr! #f o y) (y <- cdr #f o))
|
||||
((s <- allocate-struct #f v n) (v <- struct-vtable #f s))
|
||||
((s <- allocate-struct/immediate n v) (v <- struct-vtable #f s))
|
||||
((struct-set! #f s i x) (x <- struct-ref #f s i))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue