close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 14 years ago

Last modified 14 years ago

#41 new enhancement

empty unwind-protect

Reported by: Helmut Eller 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 14 years ago by Raymond Toy

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.