TemplateRegistry registry = result.registry();
registry = runMiddleendPasses(registry, soyTree);
if (cache == null) {
new ClearSoyDocStringsVisitor().exec(soyTree);
}
<BUG>((ErrorReporterImpl) errorReporter).throwIfErrorsPresent();
ImmutableMap<String, ImmutableSortedSet<String>> transitiveIjs =
getTransitiveIjs(soyTree, registry);
return new ServerCompilationPrimitives(
registry, transitiveIjs, soyFunctionMap, printDirectives);</BUG>
}

TemplateRegistry registry = result.registry();
registry = runMiddleendPasses(registry, soyTree);
if (cache == null) {
new ClearSoyDocStringsVisitor().exec(soyTree);
}
((ErrorReporterImpl) errorReporter).throwIfErrorsPresent();
return new ServerCompilationPrimitives(registry, soyTree, soyFunctionMap, printDirectives);
}
