UnusedGlobals

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UnusedGlobals

MrGwen
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

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

unused.patch (17K) Download Attachment