diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-15 01:00:26 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-15 01:00:26 +0000 |
commit | 2730a0099a90fef8639f2e72cf5bd30d1ed3878d (patch) | |
tree | 10ca0853f2341a6a127a4d4136e6c4258fa460d7 | |
parent | a5ce6c88f90887cb1c963b703fdf97a0f078fd41 (diff) | |
download | bcm5719-llvm-2730a0099a90fef8639f2e72cf5bd30d1ed3878d.tar.gz bcm5719-llvm-2730a0099a90fef8639f2e72cf5bd30d1ed3878d.zip |
Clear out the landing pad to call site map for each function.
This isn't put into the 'clear()' method because the information needs to stick
around (at least for a little bit) after the selection DAG is built.
llvm-svn: 142032
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index ee30343c3c0..7d76507b589 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -817,6 +817,7 @@ void SelectionDAGBuilder::init(GCFunctionInfo *gfi, AliasAnalysis &aa) { AA = &aa; GFI = gfi; TD = DAG.getTarget().getTargetData(); + LPadToCallSiteMap.clear(); } /// clear - Clear out the current SelectionDAG and the associated |