Author: asl Date: Wed Aug 29 18:18:48 2007 New Revision: 41584 URL: http://llvm.org/viewvc/llvm-project?rev=41584&view=rev Log: Fix use of declaration inside case block
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=41584&r1=41583&r2=41584&view=diff ============================================================================== --- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original) +++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Aug 29 18:18:48 2007 @@ -741,7 +741,7 @@ else Result = DAG.getConstant(0, TLI.getPointerTy()); break; - case ISD::FRAME_TO_ARGS_OFFSET: + case ISD::FRAME_TO_ARGS_OFFSET: { MVT::ValueType VT = Node->getValueType(0); switch (TLI.getOperationAction(Node->getOpcode(), VT)) { default: assert(0 && "This action is not supported yet!"); @@ -753,6 +753,7 @@ Result = DAG.getConstant(0, VT); break; } + } break; case ISD::EXCEPTIONADDR: { Tmp1 = LegalizeOp(Node->getOperand(0)); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits