diff options
author | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-07-11 10:43:20 -0700 |
---|---|---|
committer | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-07-11 11:07:40 -0700 |
commit | 51f26947d7fe801224115abdd601d738eea8ee8d (patch) | |
tree | 825475b1e6a5cbc90a46b03d40e52b37f6466863 /src/binaryen-c.cpp | |
parent | 18e096c4940f51df50d5f7a4e9fff03cc2f3beaf (diff) | |
download | binaryen-51f26947d7fe801224115abdd601d738eea8ee8d.tar.gz binaryen-51f26947d7fe801224115abdd601d738eea8ee8d.tar.bz2 binaryen-51f26947d7fe801224115abdd601d738eea8ee8d.zip |
refactor and improve break validation. breaks names are unique, so we don't need a stack, and break targets must exist even if they are not actually taken
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r-- | src/binaryen-c.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index 83d0e155f..dfdca516f 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -30,6 +30,7 @@ #include "wasm-s-parser.h" #include "wasm-validator.h" #include "cfg/Relooper.h" +#include "ast_utils.h" #include "shell-interface.h" using namespace wasm; |