summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 2a87aef3933..e7928e25eb6 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -895,7 +895,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
Out << " )\n\t\t\tto";
writeOperand(II->getNormalDest(), true);
Out << " except";
- writeOperand(II->getExceptionalDest(), true);
+ writeOperand(II->getUnwindDest(), true);
} else if (const AllocationInst *AI = dyn_cast<AllocationInst>(&I)) {
Out << " ";
OpenPOWER on IntegriCloud