[llvm-commits] CVS: llvm/lib/VMCore/Type.cpp
Reid Spencer
reid at x10sys.com
Wed Mar 21 19:15:06 PDT 2007
Changes in directory llvm/lib/VMCore:
Type.cpp updated: 1.176 -> 1.177
---
Log message:
Add the NoUnwind function attribute.
---
Diffs of the changes: (+2 -0)
Type.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/VMCore/Type.cpp
diff -u llvm/lib/VMCore/Type.cpp:1.176 llvm/lib/VMCore/Type.cpp:1.177
--- llvm/lib/VMCore/Type.cpp:1.176 Wed Feb 28 22:02:06 2007
+++ llvm/lib/VMCore/Type.cpp Wed Mar 21 21:14:48 2007
@@ -1073,6 +1073,8 @@
Result += "sext ";
if (Attr & NoReturnAttribute)
Result += "noreturn ";
+ if (Attr & NoUnwindAttribute)
+ Result += "nounwind ";
if (Attr & InRegAttribute)
Result += "inreg ";
if (Attr & StructRetAttribute)
More information about the llvm-commits
mailing list