From aa48a67f7a8172ed1e075cff184b72e19ac2df99 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Thu, 5 Sep 2024 16:18:36 +0000 Subject: [PATCH] one more missing inline --- parser/src/earley/parser.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/parser/src/earley/parser.rs b/parser/src/earley/parser.rs index 5a520116..ed1092bf 100644 --- a/parser/src/earley/parser.rs +++ b/parser/src/earley/parser.rs @@ -544,6 +544,7 @@ impl ParserState { self.lexer_state().row_idx as usize + 1 } + #[inline(always)] fn pop_lexer_states(&mut self, n: usize) { assert!(self.lexer_stack.len() > n); unsafe { self.lexer_stack.set_len(self.lexer_stack.len() - n) }