|
|
@ -872,7 +872,6 @@ public class ExprProcessor implements CodeConstants { |
|
|
|
boolean castAlways, |
|
|
|
boolean castAlways, |
|
|
|
BytecodeMappingTracer tracer) { |
|
|
|
BytecodeMappingTracer tracer) { |
|
|
|
|
|
|
|
|
|
|
|
boolean ret = false; |
|
|
|
|
|
|
|
VarType rightType = exprent.getExprType(); |
|
|
|
VarType rightType = exprent.getExprType(); |
|
|
|
|
|
|
|
|
|
|
|
TextBuffer res = exprent.toJava(indent, tracer); |
|
|
|
TextBuffer res = exprent.toJava(indent, tracer); |
|
|
@ -889,12 +888,11 @@ public class ExprProcessor implements CodeConstants { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
res.prepend("(" + getCastTypeName(leftType) + ")"); |
|
|
|
res.prepend("(" + getCastTypeName(leftType) + ")"); |
|
|
|
ret = true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
buffer.append(res); |
|
|
|
buffer.append(res); |
|
|
|
|
|
|
|
|
|
|
|
return ret; |
|
|
|
return cast; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static boolean isIntConstant(Exprent exprent) { |
|
|
|
private static boolean isIntConstant(Exprent exprent) { |
|
|
|