Skip to content

Fix copy operation on DUP and DUP2

EpicPlayerA10 requested to merge epicplayera10/asm:fix/dup-copy-operation into master

It would be semantically correct that DUP consumes one value and produces two values. That will match with the rest operations behaviour. When value is popped, then it is always placed back as a copy. In this way we can correctly calculate producers and consumers.

Reference: !414 (comment 105073)

Edited by EpicPlayerA10

Merge request reports

Loading