You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally, the iinc works as expected, but it works with a void value being copied, incremented and dropped. A possible solution would be something like a Op::LoadItemWithDefault that is being used in the iinc code generation.
The text was updated successfully, but these errors were encountered:
This bug raised within the aoc2024.tok repository, day 1.
Simplest test-case:
The problem is, that
Op::LoadItem
pushesvoid
, andvoid
is being modified, and afterwards clearedGenerally, the
iinc
works as expected, but it works with a void value being copied, incremented and dropped. A possible solution would be something like aOp::LoadItemWithDefault
that is being used in theiinc
code generation.The text was updated successfully, but these errors were encountered: