summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-11-16 07:10:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-11-16 07:10:36 +0000
commit00e87d19f523837e24159ee2db3a6d2c4a249ed4 (patch)
treea7bc5cd1f2f6e077cf1b826fb858e58596211a64 /llvm/lib/VMCore/AsmWriter.cpp
parent65511704f761b87b08388964c0458f0d08e770e4 (diff)
downloadbcm5719-llvm-00e87d19f523837e24159ee2db3a6d2c4a249ed4.tar.gz
bcm5719-llvm-00e87d19f523837e24159ee2db3a6d2c4a249ed4.zip
Special case FixedStackPseudoSourceValueVal as well. Do we really need to differentiate PseudoSourceValueVal from FixedStackPseudoSourceValueVal at this level?
llvm-svn: 88902
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-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 6bd263e5c87..82d7914770a 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -1238,7 +1238,8 @@ static void WriteAsOperandInternal(raw_ostream &Out, const Value *V,
return;
}
- if (V->getValueID() == Value::PseudoSourceValueVal) {
+ if (V->getValueID() == Value::PseudoSourceValueVal ||
+ V->getValueID() == Value::FixedStackPseudoSourceValueVal) {
V->print(Out);
return;
}
OpenPOWER on IntegriCloud