summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-03 21:37:21 +0000
committerDan Gohman <gohman@apple.com>2008-12-03 21:37:21 +0000
commitee1cd1781ad847e1e677f3fe35ed56a02acb4be8 (patch)
tree886596c7c4e8ada83e4782eccfdd67d6f2323e62 /llvm/lib/VMCore
parentf7a588b9098743e08bffa940e1643f28e8302b14 (diff)
downloadbcm5719-llvm-ee1cd1781ad847e1e677f3fe35ed56a02acb4be8.tar.gz
bcm5719-llvm-ee1cd1781ad847e1e677f3fe35ed56a02acb4be8.zip
Have PseudoSourceValue override Value::dump, so that it works
on PseudoSourceValue values. This also fixes a FIXME in lib/VMCode/AsmWriter.cpp. llvm-svn: 60507
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 2f6c1cc0f27..41929faed50 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -1759,8 +1759,7 @@ void Value::print(raw_ostream &OS, AssemblyAnnotationWriter *AAW) const {
} else if (isa<InlineAsm>(this)) {
WriteAsOperand(OS, this, true, 0);
} else {
- // FIXME: PseudoSourceValue breaks this!
- //assert(0 && "Unknown value to print out!");
+ assert(0 && "Unknown value to print out!");
}
}
OpenPOWER on IntegriCloud