Skip to content

Commit

Permalink
inline the inner functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Dec 6, 2024
1 parent e620f69 commit 9dc2ac4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/engine/src/native_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ pub(crate) fn native_function_call(
///
/// Panics if the object is currently mutably borrowed.
// <https://tc39.es/ecma262/#sec-built-in-function-objects-call-thisargument-argumentslist>
#[inline]
pub(crate) fn native_function_call_inner(
obj: &JsObject,
native_function: &NativeFunctionObject,
Expand Down Expand Up @@ -420,6 +421,7 @@ fn native_function_construct(
)
}

#[inline]
pub(crate) fn native_function_construct_inner(
native_function: &NativeFunctionObject,
this_function_object: JsObject,
Expand Down

0 comments on commit 9dc2ac4

Please sign in to comment.