diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-06-18 22:01:37 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-06-18 22:01:37 +0000 |
commit | a845706dc1cebfe75913832e07ef114519a879d6 (patch) | |
tree | 4cfc0afe11d743a3b38c7496af5fd290e4f90b1c | |
parent | a9934dc20a5e137a35be6f640c79fda9261f985b (diff) |
Fix cross initialization compilation error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106324 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 4de42a8ac1..70822b7dbc 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -2523,11 +2523,12 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node, case ISD::ATOMIC_LOAD_MAX: case ISD::ATOMIC_LOAD_UMIN: case ISD::ATOMIC_LOAD_UMAX: - case ISD::ATOMIC_CMP_SWAP: + case ISD::ATOMIC_CMP_SWAP: { std::pair<SDValue, SDValue> Tmp = ExpandAtomic(Node); Results.push_back(Tmp.first); Results.push_back(Tmp.second); break; + } case ISD::DYNAMIC_STACKALLOC: ExpandDYNAMIC_STACKALLOC(Node, Results); break; |