mirror of
https://github.com/wader/fq.git
synced 2024-11-23 00:57:15 +03:00
wasm: add comment to clarify lazy initialization
This commit is contained in:
parent
db8021c931
commit
cd037c514d
@ -62,6 +62,8 @@ func (m instructionMap) MapScalar(s scalar.S) (scalar.S, error) {
|
||||
var instrMap = instructionMap{
|
||||
0x00: {mnemonic: "unreachable"},
|
||||
0x01: {mnemonic: "nop"},
|
||||
|
||||
// for the following 3 entries, `f` will be set in decodeWASM() to break initialization reference cycle.
|
||||
0x02: {mnemonic: "block"},
|
||||
0x03: {mnemonic: "loop"},
|
||||
0x04: {mnemonic: "if"},
|
||||
|
Loading…
Reference in New Issue
Block a user