From: Bill Wendling Date: Wed, 10 Oct 2012 18:02:57 +0000 (+0000) Subject: Remove unused argument. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=658a806b982011ceff0f02c044e2f33ea454bc49;p=oota-llvm.git Remove unused argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165636 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index a1a2bd53c82..6837608b2c0 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -1326,7 +1326,7 @@ public: /// @brief Determine if the call cannot unwind. bool doesNotThrow() const { return hasFnAttr(Attributes::NoUnwind); } - void setDoesNotThrow(bool DoesNotThrow = true) { + void setDoesNotThrow() { Attributes::Builder B; B.addAttribute(Attributes::NoUnwind); addAttribute(~0, Attributes::get(B));