From 3e28445757a8904dc0927698c5b9f33d3a0caeaf Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 14 Apr 2016 17:39:03 -0700 Subject: rename function locals, to params and vars, which together are all the locals. preparation for #336 (#349) --- src/passes/Print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/passes/Print.cpp') 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 { 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; -- cgit v1.2.3