Skip to content

Commit e5c5faa

Browse files
committed
Inline parse_stmt_like
1 parent 426c22b commit e5c5faa

File tree

1 file changed

+1
-0
lines changed
  • crates/swc_ecma_parser/src/parser

1 file changed

+1
-0
lines changed

crates/swc_ecma_parser/src/parser/stmt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ impl<I: Tokens> Parser<I> {
985985
}
986986

987987
/// Parse a statement, declaration or module item.
988+
#[inline(always)]
988989
pub(crate) fn parse_stmt_like<Type: IsDirective + From<Stmt>>(
989990
&mut self,
990991
include_decl: bool,

0 commit comments

Comments
 (0)