From: Evan Cheng Date: Mon, 16 Nov 2009 07:10:36 +0000 (+0000) Subject: Special case FixedStackPseudoSourceValueVal as well. Do we really need to differentia... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=746d546877a354a0d94ab0bc67775d040022a2b6;p=oota-llvm.git Special case FixedStackPseudoSourceValueVal as well. Do we really need to differentiate PseudoSourceValueVal from FixedStackPseudoSourceValueVal at this level? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88902 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 6bd263e5c87..82d7914770a 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -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; }