swc_ecma_transforms_optimization::simplify::const_propagation

Function constant_propagation

source
pub fn constant_propagation() -> impl 'static + Pass + VisitMut
Expand description

This pass is kind of inliner, but it’s far faster.