summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-04-10 17:17:16 -0700
committerGitHub <noreply@github.com>2018-04-10 17:17:16 -0700
commit9b5ce471992033eeec9a8779bce55f2429496431 (patch)
tree278ba9a543becec6910b65458c162459f4107ebc /src/wasm-binary.h
parentdf19ebde22c48fba43f88c71c4870f53b8974f93 (diff)
downloadbinaryen-9b5ce471992033eeec9a8779bce55f2429496431.tar.gz
binaryen-9b5ce471992033eeec9a8779bce55f2429496431.tar.bz2
binaryen-9b5ce471992033eeec9a8779bce55f2429496431.zip
Fix bad param/var type error handling (#1499)
Improve error handling, validation, and assertions for having a non-concrete type in an inappropriate place. Fixes a fuzz testcase.
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 4b4a37888..eb3567bf5 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -840,6 +840,7 @@ public:
int32_t getS32LEB();
int64_t getS64LEB();
Type getType();
+ Type getConcreteType();
Name getString();
Name getInlineString();
void verifyInt8(int8_t x);