mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 04:25:22 +00:00
silence a warning when assertions are disabled.
llvm-svn: 62976
This commit is contained in:
parent
6f715ebe85
commit
e7bf6037e2
@ -399,9 +399,9 @@ SDValue ARMTargetLowering::LowerCALL(SDValue Op, SelectionDAG &DAG) {
|
||||
CallSDNode *TheCall = cast<CallSDNode>(Op.getNode());
|
||||
MVT RetVT = TheCall->getRetValType(0);
|
||||
SDValue Chain = TheCall->getChain();
|
||||
unsigned CallConv = TheCall->getCallingConv();
|
||||
assert((CallConv == CallingConv::C ||
|
||||
CallConv == CallingConv::Fast) && "unknown calling convention");
|
||||
assert((TheCall->getCallingConv() == CallingConv::C ||
|
||||
TheCall->getCallingConv() == CallingConv::Fast) &&
|
||||
"unknown calling convention");
|
||||
SDValue Callee = TheCall->getCallee();
|
||||
unsigned NumOps = TheCall->getNumArgs();
|
||||
unsigned ArgOffset = 0; // Frame mechanisms handle retaddr slot
|
||||
|
Loading…
Reference in New Issue
Block a user