diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-14 17:39:03 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-14 17:39:03 -0700 |
commit | 3e28445757a8904dc0927698c5b9f33d3a0caeaf (patch) | |
tree | 3a781fba9010d0d483e23e2e1489b137de3bb392 /src/wasm.h | |
parent | f0c739b5f78e63e9ad4c11bfdc50a55ef18b388f (diff) | |
download | binaryen-3e28445757a8904dc0927698c5b9f33d3a0caeaf.tar.gz binaryen-3e28445757a8904dc0927698c5b9f33d3a0caeaf.tar.bz2 binaryen-3e28445757a8904dc0927698c5b9f33d3a0caeaf.zip |
rename function locals, to params and vars, which together are all the locals. preparation for #336 (#349)
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h index 2b04ed8cd..d9c36d878 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1066,8 +1066,8 @@ class Function { public: Name name; WasmType result; - std::vector<NameType> params; - std::vector<NameType> locals; + std::vector<NameType> params; // function locals are params + std::vector<NameType> vars; // plus vars Name type; // if null, it is implicit in params and result Expression *body; |