|
From: | Gwenaël Casaccio |
Subject: | [Help-smalltalk] UnusedGlobals |
Date: | Thu, 22 Sep 2011 20:08:19 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13 |
Hi,Here is a patch which adds a UnusedGlobals namespace, when a variable binding is removed from a namespace, it tests if the binding is used by a compiled method (could be changed), if yes the global is added to the UnusedGlobal namespace otherwise it's removed. The vm is changed a bit to bootstrap the new class and
there is a simple test case. Cheers, Gwen
unused.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |