forked from OSchip/llvm-project
Silence warnings in non assert builds. Patch by David Blaikie
llvm-svn: 133118
This commit is contained in:
parent
0a6ba2684f
commit
5444a7b4cd
|
@ -1550,8 +1550,8 @@ SDValue MipsTargetLowering::LowerFCOPYSIGN(SDValue Op, SelectionDAG &DAG)
|
|||
|
||||
SDValue MipsTargetLowering::
|
||||
LowerFRAMEADDR(SDValue Op, SelectionDAG &DAG) const {
|
||||
unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
|
||||
assert((Depth == 0) &&
|
||||
// check the depth
|
||||
assert((cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue() == 0) &&
|
||||
"Frame address can only be determined for current frame.");
|
||||
|
||||
MachineFrameInfo *MFI = DAG.getMachineFunction().getFrameInfo();
|
||||
|
|
Loading…
Reference in New Issue