Fix use of declaration inside case block

llvm-svn: 41584
This commit is contained in:
Anton Korobeynikov 2007-08-29 23:18:48 +00:00
parent 5a5046b83f
commit 5845c41e4d

View File

@ -741,7 +741,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
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 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
Result = DAG.getConstant(0, VT);
break;
}
}
break;
case ISD::EXCEPTIONADDR: {
Tmp1 = LegalizeOp(Node->getOperand(0));