Add missing stream operator for Polynomial class to fix debug builds.

llvm-svn: 347249
This commit is contained in:
Simon Pilgrim 2018-11-19 18:57:49 +00:00
parent a5e0380c30
commit 9ad5717fcc
1 changed files with 7 additions and 0 deletions

View File

@ -619,6 +619,13 @@ private:
}
};
#ifndef NDEBUG
static raw_ostream &operator<<(raw_ostream &OS, const Polynomial &S) {
S.print(OS);
return OS;
}
#endif
/// VectorInfo stores abstract the following information for each vector
/// element:
///