File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -5633,22 +5633,6 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
5633
5633
if (!CallArgs.getCleanupsToDeactivate ().empty ())
5634
5634
deactivateArgCleanupsBeforeCall (*this , CallArgs);
5635
5635
5636
- // Assert that the arguments we computed match up. The IR verifier
5637
- // will catch this, but this is a common enough source of problems
5638
- // during IRGen changes that it's way better for debugging to catch
5639
- // it ourselves here.
5640
- #ifndef NDEBUG
5641
- assert (IRCallArgs.size () == IRFuncTy->getNumParams () || IRFuncTy->isVarArg ());
5642
- for (unsigned i = 0 ; i < IRCallArgs.size (); ++i) {
5643
- // Inalloca argument can have different type.
5644
- if (IRFunctionArgs.hasInallocaArg () &&
5645
- i == IRFunctionArgs.getInallocaArgNo ())
5646
- continue ;
5647
- if (i < IRFuncTy->getNumParams ())
5648
- assert (IRCallArgs[i]->getType () == IRFuncTy->getParamType (i));
5649
- }
5650
- #endif
5651
-
5652
5636
// Update the largest vector width if any arguments have vector types.
5653
5637
for (unsigned i = 0 ; i < IRCallArgs.size (); ++i)
5654
5638
LargestVectorWidth = std::max (LargestVectorWidth,
You can’t perform that action at this time.
0 commit comments