Skip to content

SimplificationConstantPropogationTest #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open

SimplificationConstantPropogationTest #40

wants to merge 68 commits into from

Conversation

Simone-vanZyl
Copy link

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:

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 " +

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

@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