فهرست منبع

Remove an old test case from tree_ir.py

jonathanvdc 8 سال پیش
والد
کامیت
572ec81823
1فایلهای تغییر یافته به همراه0 افزوده شده و 16 حذف شده
  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())