-
Notifications
You must be signed in to change notification settings - Fork 46
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
base: master
Are you sure you want to change the base?
Conversation
…l/green into ConstantPropagation
int prev = 0; | ||
|
||
switch (operator) { | ||
case GT: |
There was a problem hiding this comment.
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 " + |
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
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