From d99fe9f2b7423c1a9b9a367417bbacddfa4185de Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Wed, 6 Aug 2014 23:58:20 -0700 Subject: [PATCH] adjust perftc to match the most recent implementation of createSourceFile --- tests/perftc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/perftc.ts b/tests/perftc.ts index ccb5f608164..cedfe254e96 100644 --- a/tests/perftc.ts +++ b/tests/perftc.ts @@ -8,7 +8,7 @@ if (perftest.hasLogIOFlag()) { var compilerHost: ts.CompilerHost = { getSourceFile: (s, v) => { var content = perftest.readFile(s); - return content !== undefined ? ts.createSourceFile(s, content, v, ts.ByteOrderMark.Utf8) : undefined; + return content !== undefined ? ts.createSourceFile(s, content, v) : undefined; }, getDefaultLibFilename: () => ts.combinePaths(ts.getDirectoryPath(ts.normalizePath(perftest.getExecutingFilePath())), "lib.d.ts"), writeFile: (f: string, content: string) => { throw new Error("Unexpected operation: writeFile"); },