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
after side-effect ordering.
From my understanding of the spec, expressions should be evaluated from left to right, i.e. the value of val must be saved before calling do_something. However here, val is evaluated after calling do_something, which would violate my assumption.
I have the following program snippet:
which is turned into
after side-effect ordering.
From my understanding of the spec, expressions should be evaluated from left to right, i.e. the value of
val
must be saved before callingdo_something
. However here, val is evaluated after callingdo_something
, which would violate my assumption.Is this transformation correct?
side_effect_ordering.p4.txt
side_effect_ordering.stf.txt
The text was updated successfully, but these errors were encountered: