Skip to content

Commit

Permalink
Merge pull request #24 from esc/remove_remnants_of_SyntheticForIter
Browse files Browse the repository at this point in the history
Remove remnants of the SyntheticForIter construct
  • Loading branch information
kc611 authored Mar 25, 2023
2 parents e2e8fd0 + ebf245c commit 6d99391
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions numba_rvsdg/core/datastructures/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ class SynthenticAssignment(ControlLabel):
pass


@dataclass(frozen=True, order=True)
class SyntheticForIter(ControlLabel):
pass


class ControlLabelGenerator:
def __init__(self, index=0, variable=97):
self.index = index
Expand Down
1 change: 0 additions & 1 deletion numba_rvsdg/core/transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from numba_rvsdg.core.datastructures.labels import (
Label,
SyntheticForIter,
SyntheticBranch,
SyntheticHead,
SyntheticExitingLatch,
Expand Down
4 changes: 0 additions & 4 deletions numba_rvsdg/tests/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
Label,
PythonBytecodeLabel,
ControlLabel,
SyntheticForIter,
SynthenticAssignment,
SyntheticExitingLatch,
SyntheticExit,
Expand Down Expand Up @@ -258,9 +257,6 @@ def run_inst(self, inst: Instruction):
print(f"stack after: {self.stack}")

### Synthetic Instructions ###
def synth_SyntheticForIter(self, control_label, block):
self.op_FOR_ITER(None)

def synth_SynthenticAssignment(self, control_label, block):
self.ctrl_varmap.update(block.variable_assignment)

Expand Down

0 comments on commit 6d99391

Please sign in to comment.