summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-05 17:37:59 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-05 17:37:59 -0800
commit9f375280e1168645ba9be9a6b5889c58ebcf565a (patch)
treed279915d87c79de254281db404426172ee4445ae /src/wasm.h
parent46393bd1004c8fd679394ceaf0d64d1d5c3c616c (diff)
downloadbinaryen-9f375280e1168645ba9be9a6b5889c58ebcf565a.tar.gz
binaryen-9f375280e1168645ba9be9a6b5889c58ebcf565a.tar.bz2
binaryen-9f375280e1168645ba9be9a6b5889c58ebcf565a.zip
remember function type name, for later checks
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 59d51b07c..6d1ac7b83 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -770,6 +770,7 @@ public:
WasmType result;
std::vector<NameType> params;
std::vector<NameType> locals;
+ Name type; // if null, it is implicit in params and result
Expression *body;
std::ostream& print(std::ostream &o, unsigned indent) {