diff options
Diffstat (limited to 'lib/CodeGen/PseudoSourceValue.cpp')
-rw-r--r-- | lib/CodeGen/PseudoSourceValue.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/PseudoSourceValue.cpp b/lib/CodeGen/PseudoSourceValue.cpp index 5247906c46..d0ea7069d4 100644 --- a/lib/CodeGen/PseudoSourceValue.cpp +++ b/lib/CodeGen/PseudoSourceValue.cpp @@ -41,6 +41,10 @@ static const char *const PSVNames[] = { PseudoSourceValue::PseudoSourceValue() : Value(PointerType::getUnqual(Type::Int8Ty), PseudoSourceValueVal) {} +void PseudoSourceValue::dump() const { + print(errs()); errs() << '\n'; errs().flush(); +} + void PseudoSourceValue::print(raw_ostream &OS) const { OS << PSVNames[this - *PSVs]; } |