diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-06 06:22:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-06 06:22:10 +0000 |
commit | cfae2e80c813fa0e03ebd86a525cc3f034b2b8d7 (patch) | |
tree | 0466ef6d29946d5921d226c0d04b875c89991dc5 /include/llvm/Instructions.h | |
parent | f6b5c1abce89dbd7e8e12407aa8e4a04f805fdf2 (diff) | |
download | external_llvm-cfae2e80c813fa0e03ebd86a525cc3f034b2b8d7.zip external_llvm-cfae2e80c813fa0e03ebd86a525cc3f034b2b8d7.tar.gz external_llvm-cfae2e80c813fa0e03ebd86a525cc3f034b2b8d7.tar.bz2 |
add a default arg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r-- | include/llvm/Instructions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index a27ce2b..b398361 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, |