summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-02-21 23:21:26 +0000
committerDevang Patel <dpatel@apple.com>2011-02-21 23:21:26 +0000
commit68e6beeccc0b9ac2e8d3687a8a5b7d4b172edca1 (patch)
tree2fea668b3ede33c7e182c9e781d2f6532790d775 /lib/Target/Sparc
parent06c0f25499fd502668ca720b0fea4a4dfe6eb44a (diff)
downloadllvm-68e6beeccc0b9ac2e8d3687a8a5b7d4b172edca1.tar.gz
llvm-68e6beeccc0b9ac2e8d3687a8a5b7d4b172edca1.tar.bz2
llvm-68e6beeccc0b9ac2e8d3687a8a5b7d4b172edca1.tar.xz
Revert r124611 - "Keep track of incoming argument's location while emitting LiveIns."
In other words, do not keep track of argument's location. The debugger (gdb) is not prepared to see line table entries for arguments. For the debugger, "second" line table entry marks beginning of function body. This requires some coordination with debugger to get this working. - The debugger needs to be aware of prolog_end attribute attached with line table entries. - The compiler needs to accurately mark prolog_end in line table entries (at -O0 and at -O1+) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp
index f39e91bb2f..70574c370f 100644
--- a/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/lib/Target/Sparc/SparcISelLowering.cpp
@@ -203,7 +203,7 @@ SparcTargetLowering::LowerFormalArguments(SDValue Chain,
false, false, 0);
} else {
unsigned loReg = MF.addLiveIn(NextVA.getLocReg(),
- &SP::IntRegsRegClass, dl);
+ &SP::IntRegsRegClass);
LoVal = DAG.getCopyFromReg(Chain, dl, loReg, MVT::i32);
}
SDValue WholeValue =