commit | 2ad0fcf794924f618a7240741cc14a39be99d0f2 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Apr 28 23:08:54 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Apr 28 23:08:54 2010 +0000 |
tree | 9f91b7f71e5c3f8e3872306ac0a0f3c5047b9422 | |
parent | c1c4595d1f5ea83ea45e448544a64263f62bc17f [diff] [blame] |
Replace r102368 with code that's less fragile. This creates DBG_VALUE instructions for function arguments early and insert them after instruction selection is done. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102554 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index 8fe619e..fe5937e 100644 --- a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
@@ -173,6 +173,7 @@ CatchInfoFound.clear(); #endif LiveOutRegInfo.clear(); + ArgDbgValues.clear(); } unsigned FunctionLoweringInfo::MakeReg(EVT VT) {