]> git.tdb.fi Git - libs/gl.git/commit
Refactor and improve unused variable detection in ProgramCompiler
authorMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2016 17:24:58 +0000 (19:24 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2016 17:24:58 +0000 (19:24 +0200)
commite6824add54056141e7507a33e821af01d1398973
tree4531fea05bfa45a9b1c58709c0bfef843ca2b352
parentced18c244f874638dc17ae486802bb3bb01ecf71
Refactor and improve unused variable detection in ProgramCompiler

It now recognizes and marks for removal assignments to global variables
if the variable is not read in any function.
source/programcompiler.cpp
source/programcompiler.h