Browse Source

Remove an old test case from tree_ir.py

jonathanvdc 8 years ago
parent
commit
f3f9234a71
1 changed files with 0 additions and 16 deletions
  1. 0 16
      kernel/modelverse_jit/tree_ir.py

+ 0 - 16
kernel/modelverse_jit/tree_ir.py

@@ -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())