mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix use of declaration inside case block
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41584 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ecb38be0a
commit
055c5449a4
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user