| SideEffectChecker traverses a tree and determines is a node has
any side effects such as changing the stack, calling a function, or
performing a residency check. The side effects are represented by an integer
whose bits represent a certain kind of side effect.
SideEffectChecker is a TreeVisitor. The way it works
is that after a SideEffectChecker is reset, an expression tree
Node is visited to determine whether or not it has side effects.
Neat.
|