diff options
author | Dale Johannesen <dalej@apple.com> | 2008-10-24 01:06:58 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-10-24 01:06:58 +0000 |
commit | fea90880302fc7b6d588292ae0e55d33ebe80f12 (patch) | |
tree | 9a28bba085fc1397e8c94a7e52111759725e6060 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 43d1f02b547b146d81abeb0ed0f88628f0fdc7dc (diff) |
Initialize uninitialized variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 758f112f78..36c1048dfd 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -4783,7 +4783,7 @@ MemSDNode::MemSDNode(unsigned Opc, SDVTList VTs, const SDValue *Ops, /// getMemOperand - Return a MachineMemOperand object describing the memory /// reference performed by this memory reference. MachineMemOperand MemSDNode::getMemOperand() const { - int Flags; + int Flags = 0; if (isa<LoadSDNode>(this)) Flags = MachineMemOperand::MOLoad; else if (isa<StoreSDNode>(this)) |