Special case FixedStackPseudoSourceValueVal as well. Do we really need to differentia...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 16 Nov 2009 07:10:36 +0000 (07:10 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 16 Nov 2009 07:10:36 +0000 (07:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88902 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index 6bd263e5c87675554f76b162b11616ad12386505..82d7914770a5683a77a14240f167e688fc994b51 100644 (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;
   }