diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-01-21 15:53:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 15:53:29 +0100 |
commit | 5e2fd183ff1fe240ddbd864dbf1e6a0941fb4582 (patch) | |
tree | bf550552bd54e7adbd87749ae663b8fafb2c4f0d /cli/compilers | |
parent | 0cd605515c99458fa80cd4a1a3906f3db37a86ca (diff) |
refactor: Rename JS entry functions (#3732)
Diffstat (limited to 'cli/compilers')
-rw-r--r-- | cli/compilers/ts.rs | 6 | ||||
-rw-r--r-- | cli/compilers/wasm.rs | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs index 037043368..f3147334f 100644 --- a/cli/compilers/ts.rs +++ b/cli/compilers/ts.rs @@ -246,9 +246,9 @@ impl TsCompiler { worker_state, ext, ); - worker.execute("denoMain()").unwrap(); - worker.execute("workerMain()").unwrap(); - worker.execute("compilerMain()").unwrap(); + worker.execute("bootstrapCompilerRuntime('TS')").unwrap(); + worker.execute("bootstrapWorkerRuntime()").unwrap(); + worker.execute("bootstrapTsCompiler()").unwrap(); worker } diff --git a/cli/compilers/wasm.rs b/cli/compilers/wasm.rs index ca889be1f..e2a293f18 100644 --- a/cli/compilers/wasm.rs +++ b/cli/compilers/wasm.rs @@ -60,9 +60,9 @@ impl WasmCompiler { worker_state, ext, ); - worker.execute("denoMain('WASM')").unwrap(); - worker.execute("workerMain()").unwrap(); - worker.execute("wasmCompilerMain()").unwrap(); + worker.execute("bootstrapCompilerRuntime('WASM')").unwrap(); + worker.execute("bootstrapWorkerRuntime()").unwrap(); + worker.execute("bootstrapWasmCompiler()").unwrap(); worker } |