pub struct CompileStateFromRir {
pub interner: ThreadedRodeo,
pub rir: Rir,
pub functions: Vec<FunctionWithCfg>,
pub type_pool: TypeInternPool,
pub strings: Vec<String>,
pub warnings: Vec<CompileWarning>,
pub comptime_dbg_output: Vec<String>,
}Expand description
Intermediate compilation state after frontend processing from RIR.
Similar to CompileState but without the AST (since we started from RIR directly
in the parallel compilation path).
Fields§
§interner: ThreadedRodeoString interner used during compilation.
rir: RirThe untyped IR (RIR).
functions: Vec<FunctionWithCfg>Analyzed functions with typed IR and control flow graphs.
type_pool: TypeInternPoolType intern pool containing all struct and enum definitions.
strings: Vec<String>String literals indexed by their string_const index.
warnings: Vec<CompileWarning>Warnings collected during compilation.
comptime_dbg_output: Vec<String>Lines of @dbg output collected during comptime evaluation.
Auto Trait Implementations§
impl !Freeze for CompileStateFromRir
impl !RefUnwindSafe for CompileStateFromRir
impl Send for CompileStateFromRir
impl Sync for CompileStateFromRir
impl Unpin for CompileStateFromRir
impl UnwindSafe for CompileStateFromRir
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more