From 90c7af27d7959e94a25f635e21b8d77cb347e135 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Mon, 11 Feb 2019 12:07:02 +1100 Subject: Rationalise startup for compiler/main (#1737) --- js/compiler.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'js/compiler.ts') diff --git a/js/compiler.ts b/js/compiler.ts index 85d808520..fa865de43 100644 --- a/js/compiler.ts +++ b/js/compiler.ts @@ -6,7 +6,6 @@ import { Console } from "./console"; import { globalEval } from "./global_eval"; import { libdeno } from "./libdeno"; import * as os from "./os"; -import { args } from "./deno"; import { TextDecoder, TextEncoder } from "./text_encoding"; import { clearTimer, setTimeout } from "./timers"; import { postMessage, workerClose, workerMain } from "./workers"; @@ -542,13 +541,5 @@ window.compilerMain = function compilerMain() { /* tslint:disable-next-line:no-default-export */ export default function denoMain() { - const startResMsg = os.start("TS"); - - os.setGlobals(startResMsg.pid(), startResMsg.noColor()); - - for (let i = 1; i < startResMsg.argvLength(); i++) { - args.push(startResMsg.argv(i)); - } - log("args", args); - Object.freeze(args); + os.start("TS"); } -- cgit v1.2.3