| Index: src/IceOperand.h
|
| diff --git a/src/IceOperand.h b/src/IceOperand.h
|
| index c46330db4f0cdcebefbc53033a5b9fc3d0f82721..cefdf9fc4ae124021ada466a8383f33e5224db95 100644
|
| --- a/src/IceOperand.h
|
| +++ b/src/IceOperand.h
|
| @@ -84,6 +84,12 @@ private:
|
| Operand &operator=(const Operand &) LLVM_DELETED_FUNCTION;
|
| };
|
|
|
| +template<class StreamType>
|
| +inline StreamType &operator<<(StreamType &Str, const Operand &Op) {
|
| + Op.dump(Str);
|
| + return Str;
|
| +}
|
| +
|
| // Constant is the abstract base class for constants. All
|
| // constants are allocated from a global arena and are pooled.
|
| class Constant : public Operand {
|
|
|