From cfae2e80c813fa0e03ebd86a525cc3f034b2b8d7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 6 May 2005 06:22:10 +0000 Subject: [PATCH] add a default arg git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21733 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Instructions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index a27ce2bc043..b398361aec2 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -503,7 +503,7 @@ public: bool mayWriteToMemory() const { return true; } bool isTailCall() const { return SubclassData; } - void setTailCall(bool isTailCall) { SubclassData = isTailCall; } + void setTailCall(bool isTailCall = true) { SubclassData = isTailCall; } /// getCalledFunction - Return the function being called by this instruction /// if it is a direct call. If it is a call through a function pointer,