Skip to content

Commit

Permalink
Rename modification.py to constant_folding.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rihi committed Sep 6, 2023
1 parent ce7da33 commit 5c62662
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from decompiler.pipeline.controlflowanalysis.expression_simplification.modification import FOLDABLE_OPERATIONS, constant_fold
from decompiler.pipeline.controlflowanalysis.expression_simplification.constant_folding import FOLDABLE_OPERATIONS, constant_fold
from decompiler.pipeline.controlflowanalysis.expression_simplification.rules.rule import SimplificationRule
from decompiler.structures.pseudo import Constant, Expression, Operation

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from functools import reduce
from typing import Iterator

from decompiler.pipeline.controlflowanalysis.expression_simplification.modification import constant_fold
from decompiler.pipeline.controlflowanalysis.expression_simplification.constant_folding import constant_fold
from decompiler.pipeline.controlflowanalysis.expression_simplification.rules.rule import SimplificationRule
from decompiler.structures.pseudo import Constant, Expression, Operation, OperationType, Type
from decompiler.structures.pseudo.operations import COMMUTATIVE_OPERATIONS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from decompiler.pipeline.controlflowanalysis.expression_simplification.modification import normalize_int
from decompiler.pipeline.controlflowanalysis.expression_simplification.constant_folding import normalize_int
from decompiler.pipeline.controlflowanalysis.expression_simplification.rules.rule import SimplificationRule
from decompiler.structures.pseudo import BinaryOperation, Constant, Expression, Integer, Operation, OperationType

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from contextlib import nullcontext

import pytest
from decompiler.pipeline.controlflowanalysis.expression_simplification.modification import FOLDABLE_OPERATIONS, constant_fold
from decompiler.pipeline.controlflowanalysis.expression_simplification.constant_folding import FOLDABLE_OPERATIONS, constant_fold
from decompiler.structures.pseudo import Constant, Float, Integer, OperationType


Expand Down

0 comments on commit 5c62662

Please sign in to comment.