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/passes/Print.cpp | |
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/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index ce974c5f0..d791e5377 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -438,7 +438,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> { printMinorOpening(o, "result ") << printWasmType(curr->result) << ")"; } incIndent(); - for (auto& local : curr->locals) { + for (auto& local : curr->vars) { doIndent(o, indent); printMinorOpening(o, "local ") << local.name << ' ' << printWasmType(local.type) << ")"; o << maybeNewLine; |