     )
   }
 
-  private mutating func addEmitModuleJob(addJobBeforeCompiles: (Job) -> Void, addJobAfterCompiles: (Job) -> Void) throws {
+  private mutating func addEmitModuleJob(addJobBeforeCompiles: (Job) -> Void) throws -> Job? {
     if shouldCreateEmitModuleJob {
       let emitJob = try emitModuleJob()
       addJobBeforeCompiles(emitJob)
-      try addVerifyJobs(emitModuleJob: emitJob, addJob: addJobAfterCompiles)
-    }
+      return emitJob
+    }
+    return nil
   }
 
   private mutating func addJobsFeedingLinker(


    try addPrecompileModuleDependenciesJobs(addJob: addJobBeforeCompiles)
    try addPrecompileBridgingHeaderJob(addJob: addJobBeforeCompiles)
    try addEmitModuleJob(addJobBeforeCompiles: addJobBeforeCompiles,
                         addJobAfterCompiles: addJobAfterCompiles)
    let linkerInputs = try addJobsFeedingLinker(
      addJobBeforeCompiles: addJobBeforeCompiles,
      addCompileJobGroup: addCompileJobGroup,

                              addLinkerInput: addLinkerInput,
                              addJob: addJobAfterCompiles)

    // Merge-module
    if let mergeJob = try mergeModuleJob(
        moduleInputs: moduleInputs,
        moduleInputsFromJobOutputs: moduleInputsFromJobOutputs) {
      addJobAfterCompiles(mergeJob)
      try addPostModuleFilesJobs(mergeJob)

      try addWrapJobOrMergeOutputs(
        mergeJob: mergeJob,
        debugInfo: debugInfo,
