mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Use getDebugLoc forwarder instead of getNode()->getDebugLoc.
No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64026 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2910,7 +2910,7 @@ static SDValue getMemsetStringVal(MVT VT, DebugLoc dl, SelectionDAG &DAG,
|
||||
static SDValue getMemBasePlusOffset(SDValue Base, unsigned Offset,
|
||||
SelectionDAG &DAG) {
|
||||
MVT VT = Base.getValueType();
|
||||
return DAG.getNode(ISD::ADD, Base.getNode()->getDebugLoc(),
|
||||
return DAG.getNode(ISD::ADD, Base.getDebugLoc(),
|
||||
VT, Base, DAG.getConstant(Offset, VT));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user