mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
refactor(transformer/class-properties): mark transform_assignment_expression_if_super_member_assignment_target as inline (#7993)
I forgot to mark it as inline like other methods do.
This commit is contained in:
parent
5cf253c216
commit
b3a5f3eb59
1 changed files with 3 additions and 0 deletions
|
|
@ -528,6 +528,9 @@ impl<'a, 'ctx, 'v> StaticInitializerVisitor<'a, 'ctx, 'v> {
|
|||
}
|
||||
}
|
||||
|
||||
// `#[inline]` into visitor to keep common path where assignment expression isn't
|
||||
// `super.prop += 1` fast
|
||||
#[inline]
|
||||
fn transform_assignment_expression_if_super_member_assignment_target(
|
||||
&mut self,
|
||||
expr: &mut Expression<'a>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue