Änderungen

Summary

  1. rewrite if x then y = [true|false] rewrite (commit: 6a653fe) (details)
  2. rewrite demorgan bool terms (commit: c9b2156) (details)
  3. add break (commit: e3945bc) (details)
Commit 6a653fe9031744890de910ce2cc6faed13f02936 by frotty
rewrite if x then y = [true|false] rewrite

=> y = (not) x

However only if the var, that is set inside the if, is not referenced in the if's condition
(commit: 6a653fe)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/intermediatelang/optimizer/SimpleRewrites.java (diff)
Commit c9b2156bbeb8905dd72c2d10830ceb139bd9b69c by frotty
rewrite demorgan bool terms
(commit: c9b2156)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/intermediatelang/optimizer/SimpleRewrites.java (diff)
The file was modifiedde.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/intermediatelang/optimizer/SimpleRewrites.java (diff)