Commit 1442b569 authored by Stefan Behnel's avatar Stefan Behnel

remove redundant label test

parent fb590561
...@@ -9941,8 +9941,7 @@ class BoolBinopNode(ExprNode): ...@@ -9941,8 +9941,7 @@ class BoolBinopNode(ExprNode):
or_label = and_label = None or_label = and_label = None
end_label = code.new_label('bool_binop_done') end_label = code.new_label('bool_binop_done')
self.generate_bool_evaluation_code(code, self.result(), and_label, or_label, end_label) self.generate_bool_evaluation_code(code, self.result(), and_label, or_label, end_label)
if code.label_used(end_label): code.put_label(end_label)
code.put_label(end_label)
gil_message = "Truth-testing Python object" gil_message = "Truth-testing Python object"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment