From: Benedikt Tutzer Date: Mon, 1 Apr 2019 13:05:30 +0000 (+0200) Subject: Removed generation of commented-out code X-Git-Tag: yosys-0.9~179^2~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2586e091189534144426df0c6f0af60563cb4811;p=yosys.git Removed generation of commented-out code --- diff --git a/py_wrap_generator.py b/py_wrap_generator.py index ec5b4b71a..aa2c46b2c 100644 --- a/py_wrap_generator.py +++ b/py_wrap_generator.py @@ -803,10 +803,6 @@ class WClass: text += "\n\t\t\treturn ret;" text += "\n\t\t}\n" - if self.link_type != link_types.global_list: - text += "\n\t\t~" + self.name + "()\n\t\t{" - text += "\n\t\t\t//delete(this->ref_obj);\n\t\t}\n" - for con in self.found_constrs: text += con.gen_decl() for var in self.found_vars: