summaryrefslogtreecommitdiff
path: root/src/interp/binary-reader-interp.cc
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2019-11-07 16:26:58 -0800
committerGitHub <noreply@github.com>2019-11-07 16:26:58 -0800
commit2561eaca9cdba262eaa1e74ce877ffc7be543323 (patch)
treeb3154bb57acb57f0503b931aec6516e1237746f2 /src/interp/binary-reader-interp.cc
parent856a84c25ae4a29d88e27e5c8918830f04489565 (diff)
downloadwabt-2561eaca9cdba262eaa1e74ce877ffc7be543323.tar.gz
wabt-2561eaca9cdba262eaa1e74ce877ffc7be543323.tar.bz2
wabt-2561eaca9cdba262eaa1e74ce877ffc7be543323.zip
wasm-decompile: reworked how "stacky" code gets decompiled. (#1205)
For example: multi-value, and void exps while there are non-void exps on the stack. It now uses temp variables instead of pseudo push/pop, as the latter weren't particularly readable and had an ordering problem that was hard to make intuitive. The new system covers all possible situations, generates as few variables as possible, has clearer comments, and tests.
Diffstat (limited to 'src/interp/binary-reader-interp.cc')
0 files changed, 0 insertions, 0 deletions