Fix: include allways reduce constants

This commit is contained in:
Jordi Baylina
2019-06-21 10:42:49 +02:00
parent da0c60a919
commit 6642d4cf93

View File

@@ -77,8 +77,8 @@ async function compile(srcFile, options) {
classifySignals(ctx); classifySignals(ctx);
reduceConstants(ctx);
if (options.reduceConstraints) { if (options.reduceConstraints) {
reduceConstants(ctx);
// Repeat while reductions are performed // Repeat while reductions are performed
let oldNConstrains = -1; let oldNConstrains = -1;