rename the "exceptional" destination of an invoke instruction to the 'unwind' dest
llvm-svn: 11202
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 2a87aef..e7928e2 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -895,7 +895,7 @@
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 << " ";