Special case FixedStackPseudoSourceValueVal as well. Do we really need to differentiate PseudoSourceValueVal from FixedStackPseudoSourceValueVal at this level?

llvm-svn: 88902
This commit is contained in:
Evan Cheng 2009-11-16 07:10:36 +00:00
parent 65511704f7
commit 00e87d19f5
1 changed files with 2 additions and 1 deletions

View File

@ -1238,7 +1238,8 @@ static void WriteAsOperandInternal(raw_ostream &Out, const Value *V,
return;
}
if (V->getValueID() == Value::PseudoSourceValueVal) {
if (V->getValueID() == Value::PseudoSourceValueVal ||
V->getValueID() == Value::FixedStackPseudoSourceValueVal) {
V->print(Out);
return;
}