Remove also the unused labels in complex tagbodies

This commit is contained in:
Juan Jose Garcia Ripoll 2012-12-01 23:33:58 +01:00
parent 4a0ac440e1
commit 9d48c73a74

View file

@ -135,7 +135,6 @@
(setf (tag-unwind-exit x) *unwind-exit*)))
;; some tag used non locally or inside an unwind-protect
(let ((*unwind-exit* (cons 'FRAME *unwind-exit*))
(label (next-label))
(*env* *env*) (*env-lvl* *env-lvl*)
(*lex* *lex*) (*lcl* *lcl*)
(*inline-blocks* 0)
@ -162,8 +161,7 @@
(when (var-ref-ccb tag-loc)
(wt-nl "ecl_internal_error(\"GO found an inexistent tag\");"))
(wt-nl "}")
(let ((*unwind-exit* (cons label *unwind-exit*)))
(c2tagbody-body body))
(c2tagbody-body body)
(close-inline-blocks))))
(defun c2tagbody-body (body)