TopchetoEU/revert-ES5 #31

Merged
TopchetoEU merged 41 commits from TopchetoEU/revert-ES5 into master 2024-12-09 21:39:57 +00:00
Showing only changes of commit 9845a39e84 - Show all commits

View File

@ -110,8 +110,8 @@ public class OperationNode extends Node {
arg.compile(target, true); arg.compile(target, true);
} }
if (pollute) target.add(Instruction.operation(operation)); target.add(Instruction.operation(operation));
else target.add(Instruction.discard()); if (!pollute) target.add(Instruction.discard());
} }
public OperationNode(Location loc, Operation operation, Node ...args) { public OperationNode(Location loc, Operation operation, Node ...args) {