]> git.tdb.fi Git - libs/gl.git/commit
Extend unused variable analysis to assignments and across interfaces
authorMikko Rasa <tdb@tdb.fi>
Fri, 11 Nov 2016 11:37:18 +0000 (13:37 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 11 Nov 2016 11:47:23 +0000 (13:47 +0200)
commit009918a51aa309eeceb6c02ecaebe45e8d357033
tree941435415851469cbc3fa589f34b9e3fb9fc338e
parent961715848c111907b5f443c5b545a429b40583e6
Extend unused variable analysis to assignments and across interfaces

Assignments are removed if there are no further references to the
assigned variable, except if it's a linked out variable.
source/programcompiler.cpp
source/programcompiler.h