Ticket #41 (new enhancement)

Opened 20 months ago

Last modified 18 months ago

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

Changed 18 months 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.