diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-08 19:52:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-08 19:52:31 +0000 |
commit | f26bc8ef4827cf0023a7052b62b920b41813d473 (patch) | |
tree | 21d86fc5927173f712d4a5c7d9d28c107968035a /include/llvm/CodeGen/SelectionDAGNodes.h | |
parent | 22bc934720fe01aa389e65e4832509a71437adc7 (diff) |
Silence VS warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index f428db196b..5eb3d5b148 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -269,7 +269,8 @@ namespace ISD { /// computes it as well as which return value to use from that node. This pair /// of information is represented with the SDOperand value type. /// -struct SDOperand { +class SDOperand { +public: SDNode *Val; // The node defining the value we are using. unsigned ResNo; // Which return value of the node we are using. @@ -463,7 +464,7 @@ public: int64_t getSignExtended() const { unsigned Bits = MVT::getSizeInBits(getValueType(0)); - return ((int64_t)Value << 64-Bits) >> 64-Bits; + return ((int64_t)Value << (64-Bits)) >> (64-Bits); } bool isNullValue() const { return Value == 0; } |