diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index bb89b2720..eb0a6d33b 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -186,7 +186,8 @@ struct PrintSExpression : public Visitor<PrintSExpression> { decIndent(); } - void printCallBody(Call* curr) { + template<typename CallBase> + void printCallBody(CallBase* curr) { o << curr->target; if (curr->operands.size() > 0) { incIndent(); |