From 2db10ece5c12bd24507b4e81e11f12e3ddfbb0a2 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 llvm-svn: 21733 --- llvm/include/llvm/Instructions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Instructions.h b/llvm/include/llvm/Instructions.h index a27ce2bc0436..b398361aec23 100644 --- a/llvm/include/llvm/Instructions.h +++ b/llvm/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,