forked from OSchip/llvm-project
Fix uninitialized variable warning. NFC.
This commit is contained in:
parent
54e5600e4d
commit
fabe52a741
|
@ -23423,7 +23423,7 @@ SDValue X86TargetLowering::LowerVAARG(SDValue Op, SelectionDAG &DAG) const {
|
||||||
EVT ArgVT = Op.getNode()->getValueType(0);
|
EVT ArgVT = Op.getNode()->getValueType(0);
|
||||||
Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext());
|
Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext());
|
||||||
uint32_t ArgSize = DAG.getDataLayout().getTypeAllocSize(ArgTy);
|
uint32_t ArgSize = DAG.getDataLayout().getTypeAllocSize(ArgTy);
|
||||||
uint8_t ArgMode;
|
uint8_t ArgMode = 0;
|
||||||
|
|
||||||
// Decide which area this value should be read from.
|
// Decide which area this value should be read from.
|
||||||
// TODO: Implement the AMD64 ABI in its entirety. This simple
|
// TODO: Implement the AMD64 ABI in its entirety. This simple
|
||||||
|
|
Loading…
Reference in New Issue