Skip to content

SimplificationConstantPropogationTest#40

Open
Simone-vanZyl wants to merge 68 commits intowvisser:masterfrom
Simone-vanZyl:simplification
Open

SimplificationConstantPropogationTest#40
Simone-vanZyl wants to merge 68 commits intowvisser:masterfrom
Simone-vanZyl:simplification

Conversation

@Simone-vanZyl
Copy link
Copy Markdown

Some Simplification added. Only 5 of the 9 cases run. The 4 cases that fail have been commented out as explained in README.md. Thanks!
@PhillipVH
@Monkleys
@Zhunaid
@steynvl

int prev = 0;

switch (operator) {
case GT:
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 fix the style of this switch case.

ConstantPropogationVisitor propogationVisitor =
new ConstantPropogationVisitor(var_map);
expression.accept(propogationVisitor);
//log.log(Level.FINEST, "\n__getExpression__\n " +
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 unused code.

Copy link
Copy Markdown

@Zhunaidm Zhunaidm left a comment

Choose a reason for hiding this comment

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

Cool, so there's a ton of unused code. Please remove unused code other than the tests.

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