[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 8 15:46:01 PST 2004


Changes in directory llvm/lib/CWriter:

Writer.cpp updated: 1.151 -> 1.152

---
Log message:

rename the "exceptional" destination of an invoke instruction to the 'unwind' dest


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.151 llvm/lib/CWriter/Writer.cpp:1.152
--- llvm/lib/CWriter/Writer.cpp:1.151	Wed Dec 10 18:24:36 2003
+++ llvm/lib/CWriter/Writer.cpp	Sun Feb  8 15:44:31 2004
@@ -1092,7 +1092,7 @@
       << "    Entry.next = __llvm_jmpbuf_list;\n"
       << "    if (setjmp(Entry.buf)) {\n"
       << "      __llvm_jmpbuf_list = Entry.next;\n";
-  printBranchToBlock(II.getParent(), II.getExceptionalDest(), 4);
+  printBranchToBlock(II.getParent(), II.getUnwindDest(), 4);
   Out << "    }\n"
       << "    __llvm_jmpbuf_list = &Entry;\n"
       << "    ";





More information about the llvm-commits mailing list