summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-04-28 23:08:54 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-04-28 23:08:54 +0000
commit6e822459ede4600dd43b859512a2223320132500 (patch)
treea3ad6dc0a5708bb698e80e4faefd1d7d9996e734 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
parentc46382e4b39919ac89377a9134e1e73a2069f90f (diff)
downloadbcm5719-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.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
index c855db8c7b7..53e1fccdf75 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
+++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
@@ -75,6 +75,8 @@ public:
/// anywhere in the function.
DenseMap<const AllocaInst*, int> StaticAllocaMap;
+ SmallVector<MachineInstr*, 8> ArgDbgValues;
+
#ifndef NDEBUG
SmallSet<const Instruction *, 8> CatchInfoLost;
SmallSet<const Instruction *, 8> CatchInfoFound;
OpenPOWER on IntegriCloud