mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-13 15:10:34 +02:00
Remove size limit in elide-type-checks
* module/language/cps/dce.scm (elide-type-checks!): Remove limit on label-count, now that complexity is under control.
This commit is contained in:
parent
e21dae43fc
commit
0ad455ca6b
1 changed files with 24 additions and 25 deletions
|
@ -80,7 +80,6 @@
|
||||||
defs))
|
defs))
|
||||||
|
|
||||||
(define (elide-type-checks! fun dfg effects min-label label-count)
|
(define (elide-type-checks! fun dfg effects min-label label-count)
|
||||||
(when (< label-count 2000)
|
|
||||||
(match fun
|
(match fun
|
||||||
(($ $cont kfun ($ $kfun src meta min-var))
|
(($ $cont kfun ($ $kfun src meta min-var))
|
||||||
(let ((typev (infer-types fun dfg)))
|
(let ((typev (infer-types fun dfg)))
|
||||||
|
@ -104,7 +103,7 @@
|
||||||
(visit-primcall lidx fx name args))
|
(visit-primcall lidx fx name args))
|
||||||
(_ #f)))
|
(_ #f)))
|
||||||
(_ #f)))))
|
(_ #f)))))
|
||||||
(lp (1+ lidx)))))))))
|
(lp (1+ lidx))))))))
|
||||||
|
|
||||||
(define (compute-live-code fun)
|
(define (compute-live-code fun)
|
||||||
(let* ((fun-data-table (make-hash-table))
|
(let* ((fun-data-table (make-hash-table))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue