summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitd75862508342f8a759785bb523a40963c3ef084a (patch)
treeb23981018c0dd16fda2285912d669df9e3acbb40 /llvm/lib
parentf4bd5cf3ddc0a7391f2fe2a02e44240084330bfc (diff)
downloadbcm5719-llvm-d75862508342f8a759785bb523a40963c3ef084a.tar.gz
bcm5719-llvm-d75862508342f8a759785bb523a40963c3ef084a.zip
add a hack to temporarily allow pseudo source values.
llvm-svn: 55289
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index cd7b8a675d2..1b98d55dbac 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/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!");
}
}
OpenPOWER on IntegriCloud