add a default arg
authorChris Lattner <sabre@nondot.org>
Fri, 6 May 2005 06:22:10 +0000 (06:22 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 6 May 2005 06:22:10 +0000 (06:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21733 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instructions.h

index a27ce2bc04363ee76ba0f78e4d1bf48f916a63fd..b398361aec23a48a87f465e83516974ff7b5bd04 100644 (file)
@@ -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,