diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-06-17 17:58:54 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-06-17 17:58:54 +0000 |
commit | 59c38f31acf87901208bbf790508196b1c0ad1fd (patch) | |
tree | a8d736460bd5feab646bd0831d0c2eadfa527dd5 /lib/CodeGen/SelectionDAG | |
parent | b56ce8171ec52f44015d95127faaa7dd4ed92763 (diff) | |
download | external_llvm-59c38f31acf87901208bbf790508196b1c0ad1fd.zip external_llvm-59c38f31acf87901208bbf790508196b1c0ad1fd.tar.gz external_llvm-59c38f31acf87901208bbf790508196b1c0ad1fd.tar.bz2 |
add missing break. inconsequential as the code shouldn't be reached, but
for correctness' sake, it should be there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index c4bbd02..04b3fdd 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -2393,6 +2393,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node, case ISD::ATOMIC_CMP_SWAP: { assert (0 && "atomic intrinsic not lowered!"); Results.push_back(Node->getOperand(0)); + break; } case ISD::DYNAMIC_STACKALLOC: ExpandDYNAMIC_STACKALLOC(Node, Results); |