diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-08-02 20:53:48 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-07 09:54:52 -0700 |
commit | 72616971b2a35cbc37ea974e47c870556ef8ef4d (patch) | |
tree | e9c3daeed8231fb9a4466b21cf9e05d682d11709 /src/passes/Print.cpp | |
parent | 1cc33903a0b1b9dddd40674d792a59ee0d1bccf7 (diff) | |
download | binaryen-72616971b2a35cbc37ea974e47c870556ef8ef4d.tar.gz binaryen-72616971b2a35cbc37ea974e47c870556ef8ef4d.tar.bz2 binaryen-72616971b2a35cbc37ea974e47c870556ef8ef4d.zip |
call_indirect now has the target at the end
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 4f6baa9da..e54468c41 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -230,10 +230,10 @@ struct PrintSExpression : public Visitor<PrintSExpression> { void visitCallIndirect(CallIndirect *curr) { printOpening(o, "call_indirect ") << curr->fullType; incIndent(); - printFullLine(curr->target); for (auto operand : curr->operands) { printFullLine(operand); } + printFullLine(curr->target); decIndent(); } void visitGetLocal(GetLocal *curr) { |