From eb3d79ab1bcdc554acf03034606836443a0971e5 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 16 Mar 2023 18:50:41 +0530 Subject: chore(ops): inline FastFunction trait methods (#18226) --- ops/optimizer_tests/raw_ptr.out | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ops/optimizer_tests/raw_ptr.out') 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 *const ::std::ffi::c_void { op_ffi_ptr_of_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, 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 } -- cgit v1.2.3