Index: src/IceTypes.cpp |
diff --git a/src/IceTypes.cpp b/src/IceTypes.cpp |
index 11ac5b780e4fe34121b99858d10d675f90b4126c..afba0b14d1cd92e80a06ee7cc21257dc285e750b 100644 |
--- a/src/IceTypes.cpp |
+++ b/src/IceTypes.cpp |
@@ -245,4 +245,18 @@ const char *typeString(Type Ty) { |
return "???"; |
} |
+void FcnSigType::Print(Ostream &Stream) const { |
+ Stream << ReturnType << " ("; |
+ bool IsFirst = true; |
+ for (const Type ArgTy : ArgList) { |
+ if (IsFirst) { |
+ IsFirst = false; |
+ } else { |
+ Stream << ", "; |
+ } |
+ Stream << ArgTy; |
+ } |
+ Stream << ")"; |
+} |
+ |
} // end of namespace Ice |