Initialize uninitialized variable.

llvm-svn: 58057
This commit is contained in:
Dale Johannesen 2008-10-24 01:06:58 +00:00
parent 6779f893b9
commit 8b531d2754

View File

@ -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))