summaryrefslogtreecommitdiff
path: root/cli/js/ops/compiler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/ops/compiler.ts')
-rw-r--r--cli/js/ops/compiler.ts12
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/js/ops/compiler.ts b/cli/js/ops/compiler.ts
index 825cadc16..60f814741 100644
--- a/cli/js/ops/compiler.ts
+++ b/cli/js/ops/compiler.ts
@@ -38,15 +38,3 @@ export function getAsset(name: string): string {
const sourceCodeBytes = core.dispatch(opId, encoder.encode(name));
return decoder.decode(sourceCodeBytes!);
}
-
-export function cache(
- extension: string,
- moduleId: string,
- contents: string
-): void {
- sendSync("op_cache", {
- extension,
- moduleId,
- contents,
- });
-}