mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Coding style fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133496 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1363,12 +1363,13 @@ LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const
|
||||
std::pair<SDValue, SDValue> CallResult =
|
||||
LowerCallTo(DAG.getEntryNode(),
|
||||
(const Type *) Type::getInt32Ty(*DAG.getContext()),
|
||||
false, false, false, false,
|
||||
0, CallingConv::C, false, true,
|
||||
DAG.getExternalSymbol("__tls_get_addr", PtrVT), Args, DAG, dl);
|
||||
false, false, false, false, 0, CallingConv::C, false, true,
|
||||
DAG.getExternalSymbol("__tls_get_addr", PtrVT), Args, DAG,
|
||||
dl);
|
||||
|
||||
return CallResult.first;
|
||||
} else {
|
||||
}
|
||||
|
||||
SDValue Offset;
|
||||
if (GV->isDeclaration()) {
|
||||
// Initial Exec TLS Model
|
||||
@@ -1391,7 +1392,6 @@ LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const
|
||||
|
||||
SDValue ThreadPointer = DAG.getNode(MipsISD::ThreadPointer, dl, PtrVT);
|
||||
return DAG.getNode(ISD::ADD, dl, PtrVT, ThreadPointer, Offset);
|
||||
}
|
||||
}
|
||||
|
||||
SDValue MipsTargetLowering::
|
||||
@@ -1964,7 +1964,8 @@ MipsTargetLowering::LowerCall(SDValue Chain, SDValue Callee,
|
||||
InFlag = Chain.getValue(1);
|
||||
|
||||
// Create the CALLSEQ_END node.
|
||||
Chain = DAG.getCALLSEQ_END(Chain, DAG.getIntPtrConstant(NextStackOffset, true),
|
||||
Chain = DAG.getCALLSEQ_END(Chain,
|
||||
DAG.getIntPtrConstant(NextStackOffset, true),
|
||||
DAG.getIntPtrConstant(0, true), InFlag);
|
||||
InFlag = Chain.getValue(1);
|
||||
|
||||
|
Reference in New Issue
Block a user