1
//! The compilation's counters on the context.
2

            
3
use super::CompileContext;
4
use crate::compiler::stats::CompileStats;
5

            
6
impl CompileContext {
7
2352289
    pub(crate) fn compile_stats(&self) -> CompileStats {
8
2352289
        self.stats
9
2352289
    }
10

            
11
18999365
    pub(crate) fn compile_stats_mut(&mut self) -> &mut CompileStats {
12
18999365
        &mut self.stats
13
18999365
    }
14
}