Commit 20cab432 authored by Stefan Behnel's avatar Stefan Behnel

drop some redundant C labels in if-blocks

--HG--
extra : amend_source : affe6e89d8c2c49654f376fbbda3b1ad29190895
parent 9b742052
......@@ -5336,7 +5336,8 @@ class IfClauseNode(Node):
self.condition.generate_disposal_code(code)
self.condition.free_temps(code)
self.body.generate_execution_code(code)
code.put_goto(end_label)
if not self.body.is_terminator:
code.put_goto(end_label)
code.putln("}")
def generate_function_definitions(self, env, code):
......
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