File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Sources/SwiftDriver/Incremental Compilation Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -374,27 +374,25 @@ extension IncrementalCompilationState {
374
374
recordSkippedGroup ( group)
375
375
}
376
376
else {
377
- try scheduleMandatoryPreOrCompile ( group: group, formBatchedJobs : formBatchedJobs )
377
+ try scheduleMandatoryPreOrCompile ( group: group)
378
378
}
379
379
}
380
380
}
381
381
382
382
/// Remember that `group` (a compilation and possibly bitcode generation)
383
383
/// must definitely be executed.
384
384
private func scheduleMandatoryPreOrCompile(
385
- group: [ Job ] ,
386
- formBatchedJobs: ( [ Job ] ) throws -> [ Job ]
387
- ) throws {
385
+ group: [ Job ] ) {
388
386
if let report = reportIncrementalDecision {
389
387
for job in group {
390
388
report ( " Queuing \( job. descriptionForLifecycle) " , nil )
391
389
}
392
390
}
393
- mandatoryPreOrCompileJobsInOrder. append ( contentsOf: try formBatchedJobs ( group) )
391
+ mandatoryPreOrCompileJobsInOrder. append ( contentsOf: group)
394
392
unfinishedMandatoryJobs. formUnion ( group)
395
- let mandantoryCompilationInputs = group
393
+ let mandatoryCompilationInputs = group
396
394
. flatMap { $0. kind == . compile ? $0. primaryInputs : [ ] }
397
- pendingInputs. formUnion ( mandantoryCompilationInputs )
395
+ pendingInputs. formUnion ( mandatoryCompilationInputs )
398
396
}
399
397
400
398
/// Decide if this job does not need to run, unless some yet-to-be-discovered dependency changes.
You can’t perform that action at this time.
0 commit comments