]> git.xonotic.org Git - xonotic/gmqcc.git/commit
Only optimize (a - (-b)) into (a + b) when the unary operand is a negation. This...
authorDale Weiler <killfieldengine@gmail.com>
Mon, 9 Dec 2013 00:01:44 +0000 (19:01 -0500)
committerDale Weiler <killfieldengine@gmail.com>
Mon, 9 Dec 2013 00:01:44 +0000 (19:01 -0500)
commit58cd326d85f6eb67d46ecc41c111df086e836837
tree532c427375444b4c0ab90ae14dec90f52691aafa
parent50f905b82168a1ca2689823dce23e6f80b0cfb47
Only optimize (a - (-b)) into (a + b) when the unary operand is a negation. This fixes (a - (!b)) being turned into (a + b).
ast.c