diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-16 17:10:06 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-16 17:51:01 -0700 |
commit | f0546a0c8322a4e2f1777c8a749207a70cdca681 (patch) | |
tree | c785a62550a278ca1dbd626e35504296a04484b8 /src/passes/Print.cpp | |
parent | 8ff678788ada565d15273ca6ca872946f14584d6 (diff) | |
download | binaryen-f0546a0c8322a4e2f1777c8a749207a70cdca681.tar.gz binaryen-f0546a0c8322a4e2f1777c8a749207a70cdca681.tar.bz2 binaryen-f0546a0c8322a4e2f1777c8a749207a70cdca681.zip |
block signatures
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index e0fab9901..4cb363e66 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -109,6 +109,9 @@ struct PrintSExpression : public Visitor<PrintSExpression> { o << ' '; printName(curr->name); } + if (isConcreteWasmType(curr->type)) { + o << ' ' << printWasmType(curr->type); + } incIndent(); if (curr->list.size() > 0 && curr->list[0]->is<Block>()) { // recurse into the first element |