From 856c44213b7faf507d4b481cfc170b2fd08f971a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 20 May 2019 12:06:57 -0400 Subject: TS compiler refactor * Compiler no longer has its own Tokio runtime. Compiler handles one message and then exits. * Uses the simpler ts.CompilerHost interface instead of ts.LanguageServiceHost. * avoids recompiling the same module by introducing a hacky but simple `hashset` that stores the module names that have been already compiled. * Removes the CompilerConfig op. * Removes a lot of the mocking stuff in compiler.ts like `this._ts`. It is not useful as we don't even have tests. * Turns off checkJs because it causes fmt_test to die with OOM. --- core/shared_queue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/shared_queue.js') diff --git a/core/shared_queue.js b/core/shared_queue.js index 3a447cedb..75f370ce4 100644 --- a/core/shared_queue.js +++ b/core/shared_queue.js @@ -109,7 +109,7 @@ SharedQueue Binary Layout let end = off + buf.byteLength; let index = numRecords(); if (end > shared32.byteLength || index >= MAX_RECORDS) { - console.log("shared_queue.ts push fail"); + // console.log("shared_queue.js push fail"); return false; } setEnd(index, end); -- cgit v1.2.3