summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-s-parser.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2020-01-03 16:56:13 -0800
committerGitHub <noreply@github.com>2020-01-03 16:56:13 -0800
commit2343e9fea395455954adde1b70f8bd2efcc48d4a (patch)
tree693a0603408e4e8e62eec1242a3aa5313a03ba10 /src/wasm/wasm-s-parser.cpp
parent3fbec348f6de9c213d0091984305f9bb4906af47 (diff)
downloadbinaryen-2343e9fea395455954adde1b70f8bd2efcc48d4a.tar.gz
binaryen-2343e9fea395455954adde1b70f8bd2efcc48d4a.tar.bz2
binaryen-2343e9fea395455954adde1b70f8bd2efcc48d4a.zip
Generate push/pop in stack IR (#2566)
We have not been generating push and pop instructions in the stack IR. Even though they are not written in binary, they have to be in the stack IR to match the number of inputs and outputs of instructions. Currently `BinaryenIRWriter` is used both for stack IR generation and binary generation, so we should emit those instructions in `BinaryenIRWriter`. `BinaryenIRToBinaryWriter`, which inherits `BinaryenIRWriter`, does not do anything for push and pop instructions, so they are still not emitted in binary.
Diffstat (limited to 'src/wasm/wasm-s-parser.cpp')
0 files changed, 0 insertions, 0 deletions