public class Memoizer
extends NodeVisitor
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ClassMember> |
addedMembers |
protected java.lang.String |
flagName |
protected Job |
job |
protected NodeFactory |
nf |
protected TypeSystem |
ts |
protected java.lang.String |
valueName |
Constructor and Description |
---|
Memoizer(Job job,
TypeSystem ts,
NodeFactory nf) |
Modifier and Type | Method and Description |
---|---|
NodeVisitor |
enter(Node n) |
Node |
leave(Node old,
Node n,
NodeVisitor v) |
protected boolean |
needsMemoization(MethodInstance mi) |
protected MethodDecl |
transform(MethodDecl md,
MethodInstance mi) |