aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Instructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index a27ce2bc04..b398361aec 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,