From: Alastair B. <nye...@li...> - 2006-01-17 01:41:54
|
Alastair Bridgewater writes: > Hello all, > > Attached is a patch to add store-value and reevaluate-symbol restarts for > unbound-variable errors. This is x86-only functionality for now, but > shouldn't be too hard to add to other platforms. It adds two or five bytes > of overhead to each compiled symbol-value access (depending on the length > of the compiled function). This patch was created from 0.9.8.38, but > should work on any recentish version. > > --Alastair Bridgewater And, again, I can't leave well enough alone. This patch is slightly more expensive in terms of overhead on symbol-value access (three instructions instead of one), but also contains a use-value restart. This version does some damage to the internal-error handler definition machinery in src/code/interr.lisp. I tried to keep the damage to a minimum, but the functionality I needed wasn't quite easy to produce. Anyway, feedback would be welcome. --Alastair Bridgewater |