summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-24 18:33:17 +0000
committerChris Lattner <sabre@nondot.org>2008-08-24 18:33:17 +0000
commit5a1c68c776076047060a6c7228520528539ba93b (patch)
treec9d749eb0d39b94e5f61187bce65df3ea9696be0 /lib/VMCore
parentc56711c212849fe68b8d00597efda6fcb28f891e (diff)
downloadllvm-5a1c68c776076047060a6c7228520528539ba93b.tar.gz
llvm-5a1c68c776076047060a6c7228520528539ba93b.tar.bz2
llvm-5a1c68c776076047060a6c7228520528539ba93b.tar.xz
add a hack to temporarily allow pseudo source values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/AsmWriter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index cd7b8a675d..1b98d55dba 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -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!");
}
}