Skip to content

Tut2#53

Open
Dylan-Graham wants to merge 86 commits intowvisser:masterfrom
Dylan-Graham:tut2
Open

Tut2#53
Dylan-Graham wants to merge 86 commits intowvisser:masterfrom
Dylan-Graham:tut2

Conversation

@Dylan-Graham
Copy link
Copy Markdown

Constant Prop

@Zhunaid
@steynvl
@Monkleys
@philipvh

Operation e = new Operation(operation.getOperator(), l, r);
stack.push(e);
}
// Operation.Operator op = operation.getOperator();
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 remove any redundant code.

@Override
public void postVisit(Operation operation) throws VisitorException {
Operation.Operator op = operation.getOperator();

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 inline comments, maybe some Javadoc.

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