|
@@ -1779,19 +1779,3 @@ def protect_temporaries_from_gc(instruction, connected_node):
|
|
|
return instruction
|
|
|
|
|
|
return map_instruction_tree_top_down(protect_result, instruction)
|
|
|
-
|
|
|
-if __name__ == "__main__":
|
|
|
- example_tree = SelectInstruction(
|
|
|
- LiteralInstruction(True),
|
|
|
- LoopInstruction(
|
|
|
- CompoundInstruction(
|
|
|
- BreakInstruction(),
|
|
|
- CompoundInstruction(
|
|
|
- EmptyInstruction(),
|
|
|
- ContinueInstruction()
|
|
|
- )
|
|
|
- )
|
|
|
- ),
|
|
|
- ReturnInstruction(
|
|
|
- EmptyInstruction()))
|
|
|
- print(example_tree.simplify())
|