[llvm-commits] [llvm] r88902 - /llvm/trunk/lib/VMCore/AsmWriter.cpp

Evan Cheng evan.cheng at apple.com
Sun Nov 15 23:10:36 PST 2009


Author: evancheng
Date: Mon Nov 16 01:10:36 2009
New Revision: 88902

URL: http://llvm.org/viewvc/llvm-project?rev=88902&view=rev
Log:
Special case FixedStackPseudoSourceValueVal as well. Do we really need to differentiate PseudoSourceValueVal from FixedStackPseudoSourceValueVal at this level?

Modified:
    llvm/trunk/lib/VMCore/AsmWriter.cpp

Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=88902&r1=88901&r2=88902&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Mon Nov 16 01:10:36 2009
@@ -1238,7 +1238,8 @@
     return;
   }
 
-  if (V->getValueID() == Value::PseudoSourceValueVal) {
+  if (V->getValueID() == Value::PseudoSourceValueVal ||
+      V->getValueID() == Value::FixedStackPseudoSourceValueVal) {
     V->print(Out);
     return;
   }





More information about the llvm-commits mailing list