Explicit handling for more nodes in reduceEachChild/visitEachChild

This commit is contained in:
Ron Buckton
2016-07-20 12:12:07 -07:00
parent 1c9df8446a
commit 248953ec59
7 changed files with 1300 additions and 915 deletions

View File

@@ -1441,6 +1441,7 @@ namespace ts {
// checked is to not pass the file to getEmitResolver.
const emitResolver = getDiagnosticsProducingTypeChecker().getEmitResolver((options.outFile || options.out) ? undefined : sourceFile);
performance.emit("beforeEmit");
const emitStart = performance.mark();
const emitResult = emitFiles(
@@ -1449,6 +1450,7 @@ namespace ts {
sourceFile);
performance.measure("emitTime", emitStart);
performance.emit("afterEmit");
return emitResult;
}