Fan

 

class

compiler::ConstantFolder

sys::Obj
  compiler::CompilerSupport
    compiler::ConstantFolder

ConstantFolder is used to implement constant folding optimizations where known literals and operations can be performed ahead of time by the compiler.

Slots

foldSource

Expr fold(CallExpr call)

Check shortcut expression for constant folding

makeSource

new make(Compiler compiler)

Constructor