rust/compiler/rustc_parse/src/parser
bors 03994e498d Auto merge of #122718 - workingjubilee:eyeliner-for-contrast, r=lcnr
Inline a bunch of trivial conditions in parser

It is often the case that these small, conditional functions, when inlined, reveal notable optimization opportunities to LLVM. While saethlin has done a lot of good work on making these kinds of small functions not need `#[inline]` tags as much, being clearer about what we want inlined will get both the MIR opts and LLVM to pursue it more aggressively.

On local perf runs, this seems fruitful. Let's see what rust-timer says.

r? `@ghost`
2024-03-21 11:03:35 +00:00
..
attr.rs Make unexpected always "return" PResult<()> & add unexpected_any 2024-03-15 11:36:21 +00:00
attr_wrapper.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
diagnostics.rs Rename AddToDiagnostic as Subdiagnostic. 2024-03-11 10:04:49 +11:00
expr.rs Ensure stack before parsing dot-or-call 2024-03-18 21:35:18 -07:00
generics.rs Make unexpected always "return" PResult<()> & add unexpected_any 2024-03-15 11:36:21 +00:00
item.rs Make unexpected always "return" PResult<()> & add unexpected_any 2024-03-15 11:36:21 +00:00
mod.rs Auto merge of #122718 - workingjubilee:eyeliner-for-contrast, r=lcnr 2024-03-21 11:03:35 +00:00
nonterminal.rs Add newtype for raw idents 2024-02-20 13:13:29 +00:00
pat.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
path.rs Rollup merge of #122540 - WaffleLapkin:ununexpected, r=estebank 2024-03-20 05:51:22 +01:00
stmt.rs Rename ast::StmtKind::Local into ast::StmtKind::Let 2024-03-14 12:42:04 +01:00
ty.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00