close Warning: Can't synchronize with repository "(default)" (/project/cmucl/public_html/git/cmucl.git does not appear to be a Git repository.). Look in the Trac log for more information.

Opened 7 years ago

Last modified 7 years ago

#41 new enhancement

empty unwind-protect

Reported by: heller Owned by: somebody
Priority: minor Milestone:
Component: Core Version: 20a
Keywords: Cc:

Description

For simple code like:

(defun foo ()
  (unwind-protect
       nil))

the compiler produces awful lots of code.

Change History (1)

comment:1 Changed 7 years ago by rtoy

Yes it does generate quite a bit. Are you expecting the compiler to check that the protected form is safe and to elide the unwind-protect?

Note: See TracTickets for help on using tickets.