Skip to content

Commit 6d99391

Browse files
authored
Merge pull request #24 from esc/remove_remnants_of_SyntheticForIter
Remove remnants of the SyntheticForIter construct
2 parents e2e8fd0 + ebf245c commit 6d99391

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

numba_rvsdg/core/datastructures/labels.py

-5
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ class SynthenticAssignment(ControlLabel):
5757
pass
5858

5959

60-
@dataclass(frozen=True, order=True)
61-
class SyntheticForIter(ControlLabel):
62-
pass
63-
64-
6560
class ControlLabelGenerator:
6661
def __init__(self, index=0, variable=97):
6762
self.index = index

numba_rvsdg/core/transformations.py

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from numba_rvsdg.core.datastructures.labels import (
55
Label,
6-
SyntheticForIter,
76
SyntheticBranch,
87
SyntheticHead,
98
SyntheticExitingLatch,

numba_rvsdg/tests/simulator.py

-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
Label,
1212
PythonBytecodeLabel,
1313
ControlLabel,
14-
SyntheticForIter,
1514
SynthenticAssignment,
1615
SyntheticExitingLatch,
1716
SyntheticExit,
@@ -258,9 +257,6 @@ def run_inst(self, inst: Instruction):
258257
print(f"stack after: {self.stack}")
259258

260259
### Synthetic Instructions ###
261-
def synth_SyntheticForIter(self, control_label, block):
262-
self.op_FOR_ITER(None)
263-
264260
def synth_SynthenticAssignment(self, control_label, block):
265261
self.ctrl_varmap.update(block.variable_assignment)
266262

0 commit comments

Comments
 (0)