summaryrefslogtreecommitdiff
path: root/bench_util/js_runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bench_util/js_runtime.rs')
-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 4a5123a73..57085ef96 100644
--- a/bench_util/js_runtime.rs
+++ b/bench_util/js_runtime.rs
@@ -117,6 +117,6 @@ pub fn bench_js_async_with(
}
async fn inner_async(src: &'static str, runtime: &mut JsRuntime) {
- runtime.execute_script("inner_loop", src).unwrap();
+ runtime.execute_script_static("inner_loop", src).unwrap();
runtime.run_event_loop(false).await.unwrap();
}