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 | 4ed1fb009543effaeb31547fd1d4795a649c3b93 (patch) | |
tree | e9fe8ac132fb22ecc58202f4dd7ab94322cd655f /lib | |
parent | 534849687c8cc0e4b538d64be71670e2a028a1be (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index ee30343c3c..7d76507b58 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/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 |