summaryrefslogtreecommitdiff
path: root/bench_util
diff options
context:
space:
mode:
Diffstat (limited to 'bench_util')
-rw-r--r--bench_util/js_runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench_util/js_runtime.rs b/bench_util/js_runtime.rs
index 819a6c02b..a97d8ae50 100644
--- a/bench_util/js_runtime.rs
+++ b/bench_util/js_runtime.rs
@@ -116,7 +116,7 @@ pub fn bench_js_async_with(
}
async fn inner_async(src: &'static str, runtime: &mut JsRuntime) {
- runtime.execute_script_static("inner_loop", src).unwrap();
+ runtime.execute_script("inner_loop", src).unwrap();
runtime
.run_event_loop(PollEventLoopOptions::default())
.await