diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-01 00:25:44 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-01 00:25:44 +0000 |
commit | 95140a4cc168bb75a54a434e3e53f9060742dc41 (patch) | |
tree | 15e51e01f10ae03bcc2b8592850330e04d426a98 /lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | |
parent | 3f755d7ec609f2428a2d0f2503003cea19b48d71 (diff) |
Reorgnaize more switch code lowering to clean up some tricky
code, and to eliminate the need for the SelectionDAGBuilder
state to be live during CodeGenAndEmitDAG calls.
Call SDB->clear() before CodeGenAndEmitDAG calls instead of
before it, and move the CurDAG->clear() out of SelectionDAGBuilder,
which doesn't own the DAG, and into CodeGenAndEmitDAG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
0 files changed, 0 insertions, 0 deletions