diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2023-03-18 15:25:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 20:25:28 +0100 |
commit | f6c364fcf6d9eb341d982f7b2084166ca2d25822 (patch) | |
tree | eaaa9eefeca0a68efd09750626082761021d090f /core/runtime.rs | |
parent | 00f4c0df97a7b47495e077a8237142995cb78077 (diff) |
Revert "perf(core): use static specifier in ExtensionFileSource (#182… (#18270)
…64)"
This reverts commit 8af0c8351935ea7c6c0441055d5164908322c9d6.
Causes bench stage to fail on CI.
Diffstat (limited to 'core/runtime.rs')
-rw-r--r-- | core/runtime.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime.rs b/core/runtime.rs index a08e65134..0531e861c 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -712,7 +712,7 @@ impl JsRuntime { futures::executor::block_on(async { let id = runtime .load_side_module( - &ModuleSpecifier::parse(file_source.specifier)?, + &ModuleSpecifier::parse(&file_source.specifier)?, None, ) .await?; @@ -748,7 +748,7 @@ impl JsRuntime { // TODO(@AaronO): use JsRuntime::execute_static() here to move src off heap realm.execute_script( self.v8_isolate(), - file_source.specifier, + &file_source.specifier, &file_source.code.load()?, )?; } |