mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
Initialize uninitialized variable.
llvm-svn: 58057
This commit is contained in:
parent
6779f893b9
commit
8b531d2754
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user