diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-04-28 23:08:54 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-28 23:08:54 +0000 |
commit | 6e822459ede4600dd43b859512a2223320132500 (patch) | |
tree | a3ad6dc0a5708bb698e80e4faefd1d7d9996e734 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | |
parent | c46382e4b39919ac89377a9134e1e73a2069f90f (diff) | |
download | bcm5719-llvm-6e822459ede4600dd43b859512a2223320132500.tar.gz bcm5719-llvm-6e822459ede4600dd43b859512a2223320132500.zip |
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.
llvm-svn: 102554
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index 8fe619eaafd..fe5937e1a4d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp @@ -173,6 +173,7 @@ void FunctionLoweringInfo::clear() { CatchInfoFound.clear(); #endif LiveOutRegInfo.clear(); + ArgDbgValues.clear(); } unsigned FunctionLoweringInfo::MakeReg(EVT VT) { |