diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-03-16 18:50:41 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 13:20:41 +0000 |
commit | eb3d79ab1bcdc554acf03034606836443a0971e5 (patch) | |
tree | 1e24e6c0d8888858173f08ced0b6f53e3f06b77a /ops/optimizer_tests/owned_string.out | |
parent | 33b85a2b8e54e38d735233b0f026111d905ea5d2 (diff) |
chore(ops): inline FastFunction trait methods (#18226)
Diffstat (limited to 'ops/optimizer_tests/owned_string.out')
-rw-r--r-- | ops/optimizer_tests/owned_string.out | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ops/optimizer_tests/owned_string.out b/ops/optimizer_tests/owned_string.out index 56d3cbfdc..62fb45ed7 100644 --- a/ops/optimizer_tests/owned_string.out +++ b/ops/optimizer_tests/owned_string.out @@ -74,14 +74,17 @@ struct op_string_length_fast { _phantom: ::std::marker::PhantomData<()>, } impl<'scope> deno_core::v8::fast_api::FastFunction for op_string_length_fast { + #[inline(always)] fn function(&self) -> *const ::std::ffi::c_void { op_string_length_fast_fn as *const ::std::ffi::c_void } + #[inline(always)] fn args(&self) -> &'static [deno_core::v8::fast_api::Type] { use deno_core::v8::fast_api::Type::*; use deno_core::v8::fast_api::CType; &[V8Value, SeqOneByteString] } + #[inline(always)] fn return_type(&self) -> deno_core::v8::fast_api::CType { deno_core::v8::fast_api::CType::Uint32 } |