add a hack to temporarily allow pseudo source values.
authorChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2008 18:33:17 +0000 (18:33 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2008 18:33:17 +0000 (18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55289 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index cd7b8a675d2b52df53c2c1784cc2df85551e90ab..1b98d55dbacd7118cf32a61d7193e9b6a52cb08f 100644 (file)
@@ -1778,7 +1778,8 @@ void Value::print(raw_ostream &OS, AssemblyAnnotationWriter *AAW) const {
   } else if (isa<InlineAsm>(this)) {
     WriteAsOperand(OS, this, true, 0);
   } else {
-    assert(0 && "Unknown value to print out!");
+    // FIXME: PseudoSourceValue breaks this!
+    //assert(0 && "Unknown value to print out!");
   }
 }