diff --git a/decompiler/pipeline/controlflowanalysis/expression_simplification/rules/collapse_nested_constants.py b/decompiler/pipeline/controlflowanalysis/expression_simplification/rules/collapse_nested_constants.py index 07a9f7fd..89e7b004 100644 --- a/decompiler/pipeline/controlflowanalysis/expression_simplification/rules/collapse_nested_constants.py +++ b/decompiler/pipeline/controlflowanalysis/expression_simplification/rules/collapse_nested_constants.py @@ -67,7 +67,11 @@ def _collect_constants(operation: Operation) -> Iterator[Constant]: if operand.operation == operation_type: context_stack.append(operand) continue - elif isinstance(operand, Constant) and isinstance(operand.value, int) and _identity_constant(operation_type, operand_type).value != operand.value: + elif ( + isinstance(operand, Constant) + and isinstance(operand.value, int) + and _identity_constant(operation_type, operand_type).value != operand.value + ): yield operand