mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +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
|
@ -327,10 +327,6 @@
|
|||
(($ $primcall 'string-set! #f (string index char))
|
||||
(emit-string-set! asm (from-sp (slot string)) (from-sp (slot index))
|
||||
(from-sp (slot char))))
|
||||
(($ $primcall 'set-car! #f (pair value))
|
||||
(emit-set-car! asm (from-sp (slot pair)) (from-sp (slot value))))
|
||||
(($ $primcall 'set-cdr! #f (pair value))
|
||||
(emit-set-cdr! asm (from-sp (slot pair)) (from-sp (slot value))))
|
||||
(($ $primcall 'push-fluid #f (fluid val))
|
||||
(emit-push-fluid asm (from-sp (slot fluid)) (from-sp (slot val))))
|
||||
(($ $primcall 'pop-fluid #f ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue