Skip to content

Constant propagation#46

Open
apvanniekerk wants to merge 78 commits intowvisser:masterfrom
apvanniekerk:ConstantPropagation
Open

Constant propagation#46
apvanniekerk wants to merge 78 commits intowvisser:masterfrom
apvanniekerk:ConstantPropagation

Conversation

@apvanniekerk
Copy link
Copy Markdown

No description provided.

public Expression propagate(Expression expression,
Map<Variable, Variable> map) {

Map<Variable, Constant> varValues;// = new HashMap<Variable, Constant>();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please try and remove any unused code rather than uncommenting it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will address post haste!


}

private static class CollectionVisitor extends Visitor {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add some Javadoc, maybe some inline comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants