Function inline_globals

Source
pub fn inline_globals(
    unresolved_mark: Mark,
    envs: Lrc<FxHashMap<Atom, Expr>>,
    globals: Lrc<FxHashMap<Atom, Expr>>,
    global_exprs: GlobalExprMap,
    typeofs: Lrc<FxHashMap<Atom, Atom>>,
) -> impl Pass
Expand description

Create a global inlining pass, which replaces expressions with the specified value.

See GlobalExprMap for description.

Note: Values specified in global_exprs have higher precedence than