Be less eager to optimize constant conditions in loops
authorMikko Rasa <tdb@tdb.fi>
Sat, 7 Jul 2018 07:25:08 +0000 (10:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 7 Jul 2018 07:25:08 +0000 (10:25 +0300)
commit8e14c298d9eaa47b81e27d5c25174bda958b445f
tree14ab18bda5214ea35e64da3f27673251d8dcc475
parent91d3eac06389c0bb0363f643790581403b5fca1b
Be less eager to optimize constant conditions in loops

It still requires more work to actually detect the scope in which
variables are set, but this at least solves the immediate problem I had.
source/programcompiler.cpp
source/programcompiler.h