summaryrefslogtreecommitdiff
path: root/src/tools/spec-wrapper.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-11-27 09:26:29 -0800
committerGitHub <noreply@github.com>2018-11-27 09:26:29 -0800
commit70b949ffdc3e5f3fa83dd4044f632c95159674cf (patch)
treec2bb05065cd082305cad594e76a169d1a8005a9a /src/tools/spec-wrapper.h
parent69c93dd9fb4cf8081237c4303a416bf12dff6b58 (diff)
downloadbinaryen-70b949ffdc3e5f3fa83dd4044f632c95159674cf.tar.gz
binaryen-70b949ffdc3e5f3fa83dd4044f632c95159674cf.tar.bz2
binaryen-70b949ffdc3e5f3fa83dd4044f632c95159674cf.zip
Stricter Canonicalization (#1774)
In OptimizeInstructions we canonicalized a const on the right side. This PR adds further canonicalization, of a get to the right, and of sorting by binary and unary op ids. This guarantees fixed orders for small combinations of instructions that can then be pattern-matched in a simple way in future PRs.
Diffstat (limited to 'src/tools/spec-wrapper.h')
0 files changed, 0 insertions, 0 deletions