[llvm-commits] CVS: llvm/include/llvm/Instructions.h
Chris Lattner
lattner at cs.uiuc.edu
Thu May 5 23:22:25 PDT 2005
Changes in directory llvm/include/llvm:
Instructions.h updated: 1.18 -> 1.19
---
Log message:
add a default arg
---
Diffs of the changes: (+1 -1)
Instructions.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/Instructions.h
diff -u llvm/include/llvm/Instructions.h:1.18 llvm/include/llvm/Instructions.h:1.19
--- llvm/include/llvm/Instructions.h:1.18 Fri May 6 00:49:34 2005
+++ llvm/include/llvm/Instructions.h Fri May 6 01:22:10 2005
@@ -503,7 +503,7 @@
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,
More information about the llvm-commits
mailing list