Skip to content

Commit 03a9340

Browse files
committed
[BatchMode] Remove a low-value quadratic assertion.
1 parent 55021a8 commit 03a9340

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/Driver/ToolChain.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,6 @@ std::unique_ptr<Job>
287287
ToolChain::constructBatchJob(ArrayRef<const Job *> jobs,
288288
Compilation &C) const
289289
{
290-
#ifndef NDEBUG
291-
// Verify that the equivalence relation on the jobs also holds pairwise.
292-
for (auto *A : jobs) {
293-
for (auto *B : jobs) {
294-
assert(jobsAreBatchCombinable(C, A, B));
295-
}
296-
}
297-
#endif
298290
if (jobs.empty())
299291
return nullptr;
300292

0 commit comments

Comments
 (0)