diff options
author | jgravelle-google <jgravelle@google.com> | 2016-10-27 10:56:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-27 10:56:11 -0700 |
commit | 82639c7c658f4335850fe290f4cd6b34f3fb91f5 (patch) | |
tree | e6777143ff8a5c0cdb63f276d33457ca28a9fe3f /src/passes/OptimizeInstructions.cpp | |
parent | afad1ee305719cf2a34b6dcccff72b07e1a5e34d (diff) | |
download | binaryen-82639c7c658f4335850fe290f4cd6b34f3fb91f5.tar.gz binaryen-82639c7c658f4335850fe290f4cd6b34f3fb91f5.tar.bz2 binaryen-82639c7c658f4335850fe290f4cd6b34f3fb91f5.zip |
Set the type of the implicit blocks we use for a loop body in s2wasm (#810)
Loops are modeled in Binaryen IR as having a Block as a body. The block
is added to module walkers and validated like a normal block.
In s2wasm when we add the blocks, we need to make sure that the type of
the loop body matches the type of the loop itself, or we run into
issues.
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
0 files changed, 0 insertions, 0 deletions