summaryrefslogtreecommitdiff
path: root/core/shared_queue.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-05-20 12:06:57 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-05-29 07:53:39 -0400
commit856c44213b7faf507d4b481cfc170b2fd08f971a (patch)
treeb2971883b0aeb43437a9be0076b4ffacde55d5b8 /core/shared_queue.js
parent64d2b7bc90cf6fdba661d6d3fe243fe332c076ee (diff)
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<string>` 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.
Diffstat (limited to 'core/shared_queue.js')
-rw-r--r--core/shared_queue.js2
1 files changed, 1 insertions, 1 deletions
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);