diff options
author | Stiver <stiver.mail@gmail.com> | 2014-08-17 19:15:15 +0200 |
---|---|---|
committer | Stiver <stiver.mail@gmail.com> | 2014-08-17 19:15:15 +0200 |
commit | d1679b412705438598085e79476feb8da8bafd2e (patch) | |
tree | 043d0290106e5faeba7212715f03e50fd48ec0c3 | |
parent | 1a8e8ba7a26d19cc96b80eeeb18aed90c766b0c8 (diff) | |
download | fernflower-d1679b412705438598085e79476feb8da8bafd2e.tar fernflower-d1679b412705438598085e79476feb8da8bafd2e.tar.gz fernflower-d1679b412705438598085e79476feb8da8bafd2e.tar.lz fernflower-d1679b412705438598085e79476feb8da8bafd2e.tar.xz fernflower-d1679b412705438598085e79476feb8da8bafd2e.zip |
Fixed wrong typing of integer constants (IDEA-128594 gone deeper)
-rw-r--r-- | src/de/fernflower/modules/decompiler/exps/FunctionExprent.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/de/fernflower/modules/decompiler/exps/FunctionExprent.java b/src/de/fernflower/modules/decompiler/exps/FunctionExprent.java index 2f75b71..d1637f4 100644 --- a/src/de/fernflower/modules/decompiler/exps/FunctionExprent.java +++ b/src/de/fernflower/modules/decompiler/exps/FunctionExprent.java @@ -369,21 +369,6 @@ public class FunctionExprent extends Exprent { case FUNCTION_AND: case FUNCTION_OR: case FUNCTION_XOR: - { - boolean param1_false_boolean = type1.isFalseBoolean() || (param1.type == Exprent.EXPRENT_CONST && !((ConstExprent)param1).hasBooleanValue()); - boolean param2_false_boolean = type1.isFalseBoolean() || (param2.type == Exprent.EXPRENT_CONST && !((ConstExprent)param2).hasBooleanValue()); - - if(param1_false_boolean || param2_false_boolean) { - if(type1.type == CodeConstants.TYPE_BOOLEAN) { - result.addMinTypeExprent(param1, VarType.VARTYPE_BYTECHAR); - } - - if(type2.type == CodeConstants.TYPE_BOOLEAN) { - result.addMinTypeExprent(param2, VarType.VARTYPE_BYTECHAR); - } - } - } - break; case FUNCTION_EQ: case FUNCTION_NE: { |