Replies: 2 comments
-
This is explained here |
Beta Was this translation helpful? Give feedback.
0 replies
-
@zapashcanon, thank you, I suppose you were pointing me to the following parable, specifically:
Is my understanding correct? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At https://webassembly.github.io/spec/core/exec/instructions.html#control-instructions, the definition for
br_if
specifies:A stack does not contain "i32.const" values, does it? I understand the implication (at least I think I do) -- there's a 32-bit WA integer typed value on the stack, but why call it "i32.const" -- that's just confusing? Because
i32.const
is commonly understood to be an instruction.Why not write "Pop an
i32
value c from the stack." instead?Beta Was this translation helpful? Give feedback.
All reactions