diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-05-07 02:44:04 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-05-07 02:44:04 +0000 |
commit | 39cef6025938dbe428e01eb7c273b07cbdf3e8ab (patch) | |
tree | 9a7eec982a70292ae8bc7ffaeae58d4234654336 /include/llvm/Instructions.h | |
parent | 7939b7817088c2939c4ff434af1ef9f4f8505eba (diff) | |
download | external_llvm-39cef6025938dbe428e01eb7c273b07cbdf3e8ab.tar.gz external_llvm-39cef6025938dbe428e01eb7c273b07cbdf3e8ab.tar.bz2 external_llvm-39cef6025938dbe428e01eb7c273b07cbdf3e8ab.zip |
Silence VC++ warnings about unsafe mixing of ints and bools with the | operator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21758 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 696466858d..264e8b64b9 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -505,7 +505,7 @@ public: bool isTailCall() const { return SubclassData & 1; } void setTailCall(bool isTailCall = true) { - SubclassData = (SubclassData & ~1) | isTailCall; + SubclassData = (SubclassData & ~1) | unsigned(isTailCall); } /// getCallingConv/setCallingConv - Get or set the calling convention of this |