summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-06-03 16:31:49 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-06-03 16:31:49 -0700
commitb6668d8ca5b08bdf69f057ecdc6ad8a588429761 (patch)
tree95f138f1c4e1681ee9d747ac57189b2cd438c51f /src/passes/Print.cpp
parentc8ec0cd6c053f9e68daf4ba4fdf8137957c1b236 (diff)
downloadbinaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.tar.gz
binaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.tar.bz2
binaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.zip
make call_indirect type a name, so that it is not a dependency on the module, which would break consistency and make some parallel passes tricky (#568)
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 792d35457..23d03ec40 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -209,7 +209,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
printCallBody(curr);
}
void visitCallIndirect(CallIndirect *curr) {
- printOpening(o, "call_indirect ") << curr->fullType->name;
+ printOpening(o, "call_indirect ") << curr->fullType;
incIndent();
printFullLine(curr->target);
for (auto operand : curr->operands) {