summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2018-12-18 09:27:18 -0800
committerGitHub <noreply@github.com>2018-12-18 09:27:18 -0800
commit3ac02b6d3cc5bc3ff6cfe57df312b2677ca83d75 (patch)
tree6a470c926a25457fadab32cffc8373b255b73cbd /third_party
parent32ee1f63cf9489d47896dfc2e7d294fdfee13d3d (diff)
downloadwabt-3ac02b6d3cc5bc3ff6cfe57df312b2677ca83d75.tar.gz
wabt-3ac02b6d3cc5bc3ff6cfe57df312b2677ca83d75.tar.bz2
wabt-3ac02b6d3cc5bc3ff6cfe57df312b2677ca83d75.zip
Fold multi-value results properly (#984)
Expressions need to be treated specially when folding an expression with a result count > 1. Since the expression cannot be split, we can only include it as a child of another expression if all of its values are used, for example: ``` (func $dup (result i32 i32) ...) (call $dup) ;; produces two values (i32.add) ;; consumes two values ```
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions