mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Fix a typo and fit in 80 columns. Found by Bob Wilson.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1527,7 +1527,7 @@ private:
|
|||||||
/// buffers
|
/// buffers
|
||||||
unsigned JumpBufAlignment;
|
unsigned JumpBufAlignment;
|
||||||
|
|
||||||
/// MinStackArgumentAlignment - The minimum alginment that any argument
|
/// MinStackArgumentAlignment - The minimum alignment that any argument
|
||||||
/// on the stack needs to have.
|
/// on the stack needs to have.
|
||||||
///
|
///
|
||||||
unsigned MinStackArgumentAlignment;
|
unsigned MinStackArgumentAlignment;
|
||||||
|
@ -5670,10 +5670,11 @@ void SelectionDAGBuilder::visitVAStart(const CallInst &I) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SelectionDAGBuilder::visitVAArg(const VAArgInst &I) {
|
void SelectionDAGBuilder::visitVAArg(const VAArgInst &I) {
|
||||||
|
const TargetData &TD = *TLI.getTargetData();
|
||||||
SDValue V = DAG.getVAArg(TLI.getValueType(I.getType()), getCurDebugLoc(),
|
SDValue V = DAG.getVAArg(TLI.getValueType(I.getType()), getCurDebugLoc(),
|
||||||
getRoot(), getValue(I.getOperand(0)),
|
getRoot(), getValue(I.getOperand(0)),
|
||||||
DAG.getSrcValue(I.getOperand(0)),
|
DAG.getSrcValue(I.getOperand(0)),
|
||||||
TLI.getTargetData()->getABITypeAlignment(I.getType()));
|
TD.getABITypeAlignment(I.getType()));
|
||||||
setValue(&I, V);
|
setValue(&I, V);
|
||||||
DAG.setRoot(V.getValue(1));
|
DAG.setRoot(V.getValue(1));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user