aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-01-30 23:10:59 +0000
committerDale Johannesen <dalej@apple.com>2009-01-30 23:10:59 +0000
commit7d2ad624fa749a6d3edac0d94e9c107989c16304 (patch)
tree095d40254d85cf1011ebfbfeb6901b38f21ea75c /lib/Target/Sparc
parentd34470c4f76483f0f1098527d416cd065d46d950 (diff)
downloadexternal_llvm-7d2ad624fa749a6d3edac0d94e9c107989c16304.zip
external_llvm-7d2ad624fa749a6d3edac0d94e9c107989c16304.tar.gz
external_llvm-7d2ad624fa749a6d3edac0d94e9c107989c16304.tar.bz2
Make LowerCallTo and LowerArguments take a DebugLoc
argument. Adjust all callers and overloaded versions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp3
-rw-r--r--lib/Target/Sparc/SparcISelLowering.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp
index b1031b4..af5d6e5 100644
--- a/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/lib/Target/Sparc/SparcISelLowering.cpp
@@ -77,7 +77,8 @@ static SDValue LowerRET(SDValue Op, SelectionDAG &DAG) {
/// in FP registers for fastcc functions.
void
SparcTargetLowering::LowerArguments(Function &F, SelectionDAG &DAG,
- SmallVectorImpl<SDValue> &ArgValues) {
+ SmallVectorImpl<SDValue> &ArgValues,
+ DebugLoc dl) {
MachineFunction &MF = DAG.getMachineFunction();
MachineRegisterInfo &RegInfo = MF.getRegInfo();
diff --git a/lib/Target/Sparc/SparcISelLowering.h b/lib/Target/Sparc/SparcISelLowering.h
index a0e3c65..acd1b50 100644
--- a/lib/Target/Sparc/SparcISelLowering.h
+++ b/lib/Target/Sparc/SparcISelLowering.h
@@ -58,7 +58,8 @@ namespace llvm {
unsigned Depth = 0) const;
virtual void LowerArguments(Function &F, SelectionDAG &DAG,
- SmallVectorImpl<SDValue> &ArgValues);
+ SmallVectorImpl<SDValue> &ArgValues,
+ DebugLoc dl);
virtual MachineBasicBlock *EmitInstrWithCustomInserter(MachineInstr *MI,
MachineBasicBlock *MBB);