* Started work on new cogen

This commit is contained in:
Abdulaziz Ghuloum 2007-01-21 21:20:39 -05:00
parent d6c2d5dd66
commit f114fc2f78
3 changed files with 13 additions and 1 deletions

Binary file not shown.

3
src/libcogen1.ss Normal file
View File

@ -0,0 +1,3 @@
(define (new-cogen x)
x)

View File

@ -1907,6 +1907,13 @@
(let ([x (E x)])
(make-codes all-codes x)))
(include "libcogen1.ss")
(define (lift-codes x) ;;; NOT USED
(define who 'lift-codes)
(define all-codes '())
@ -5093,6 +5100,8 @@
[p (optimize-for-direct-jumps p)]
[p (convert-closures p)]
[p (optimize-closures/lift-codes p)]
[p^ (new-cogen p)]
[p (introduce-primcalls p)]
[p (simplify-operands p)]
[p (insert-stack-overflow-checks p)]