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/raw_ptr.out | |
| parent | 33b85a2b8e54e38d735233b0f026111d905ea5d2 (diff) | |
chore(ops): inline FastFunction trait methods (#18226)
Diffstat (limited to 'ops/optimizer_tests/raw_ptr.out')
| -rw-r--r-- | ops/optimizer_tests/raw_ptr.out | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ops/optimizer_tests/raw_ptr.out b/ops/optimizer_tests/raw_ptr.out index 2b4e8c0b4..12f93f99d 100644 --- a/ops/optimizer_tests/raw_ptr.out +++ b/ops/optimizer_tests/raw_ptr.out @@ -137,14 +137,17 @@ impl<'scope, FP> deno_core::v8::fast_api::FastFunction for op_ffi_ptr_of_fast<FP where FP: FfiPermissions + 'static, { + #[inline(always)] fn function(&self) -> *const ::std::ffi::c_void { op_ffi_ptr_of_fast_fn::<FP> 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, TypedArray(CType::Uint8), TypedArray(CType::Uint32), CallbackOptions] } + #[inline(always)] fn return_type(&self) -> deno_core::v8::fast_api::CType { deno_core::v8::fast_api::CType::Void } |
