summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-10-03 21:02:50 +0200
committerGitHub <noreply@github.com>2021-10-03 21:02:50 +0200
commit11acdf1ea8b2978dcacad37b386f45e43a1f2748 (patch)
treeee3d75bc4c1611f4ff3d4ccbbc043504c6584e17 /core/runtime.rs
parent2170a41d975dbdc4680eb0ea346fdb5056bfa57b (diff)
perf(core): use opcall() directly (#12310)
Instead of the wrapper dispatch() func, also now forbids passing opIds to opSync()/opAsync() callers must always pass names
Diffstat (limited to 'core/runtime.rs')
-rw-r--r--core/runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index 3943415f8..0d566d118 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -1848,7 +1848,7 @@ pub mod tests {
r#"
let thrown;
try {
- Deno.core.opSync(100);
+ Deno.core.opcall(100, null, null, null);
} catch (e) {
thrown = e;
}