]> git.tdb.fi Git - libs/gl.git/commitdiff
Redesign ExpressionInliner
authorMikko Rasa <tdb@tdb.fi>
Thu, 22 Apr 2021 12:10:21 +0000 (15:10 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 22 Apr 2021 12:16:23 +0000 (15:16 +0300)
Similarly to the rewrite of UnusedVariableRemover from d230392, it now
analyzes the entire stage before inlining anything.  This approach is
more robust and easier to debug.

The inliner can now inline into the right side of an assignment even if
the left side references the same variable.


No differences found