| Index: src/IceTypes.h
|
| diff --git a/src/IceTypes.h b/src/IceTypes.h
|
| index f3ad6728e529e5c339936cf0f9db8772aaca6b39..2b4c2cdeeb0f43427185fee953ef8cb6da2f59a3 100644
|
| --- a/src/IceTypes.h
|
| +++ b/src/IceTypes.h
|
| @@ -112,10 +112,7 @@ inline StreamType &operator<<(StreamType &Str, const Type &Ty) {
|
| }
|
|
|
| /// Models a type signature for a function.
|
| -/// TODO(kschimpf): Consider using arena memory allocation for
|
| -/// the contents of type signatures.
|
| class FuncSigType {
|
| - // FuncSigType(const FuncSigType &Ty) = delete;
|
| FuncSigType &operator=(const FuncSigType &Ty) = delete;
|
| public:
|
| typedef std::vector<Type> ArgListType;
|
| @@ -123,6 +120,7 @@ public:
|
| // Creates a function signature type with the given return type.
|
| // Parameter types should be added using calls to appendArgType.
|
| FuncSigType() : ReturnType(IceType_void) {}
|
| + FuncSigType(const FuncSigType &Ty) = default;
|
|
|
| void appendArgType(Type ArgType) { ArgList.push_back(ArgType); }
|
|
|
|
|