mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
silence a warning when assertions are disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62976 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
afb564c697
commit
4469c53cfc
@ -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