Fix uninitialized variable warning. NFC.

This commit is contained in:
Simon Pilgrim 2020-02-27 13:55:31 +00:00
parent 54e5600e4d
commit fabe52a741
1 changed files with 1 additions and 1 deletions

View File

@ -23423,7 +23423,7 @@ SDValue X86TargetLowering::LowerVAARG(SDValue Op, SelectionDAG &DAG) const {
EVT ArgVT = Op.getNode()->getValueType(0);
Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext());
uint32_t ArgSize = DAG.getDataLayout().getTypeAllocSize(ArgTy);
uint8_t ArgMode;
uint8_t ArgMode = 0;
// Decide which area this value should be read from.
// TODO: Implement the AMD64 ABI in its entirety. This simple