diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-05 17:37:59 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-05 17:37:59 -0800 |
commit | 9f375280e1168645ba9be9a6b5889c58ebcf565a (patch) | |
tree | d279915d87c79de254281db404426172ee4445ae /src/wasm.h | |
parent | 46393bd1004c8fd679394ceaf0d64d1d5c3c616c (diff) | |
download | binaryen-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.h | 1 |
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) { |