From: Moritz Kroll Date: Wed, 1 Apr 2009 15:12:32 +0000 (+0000) Subject: Prepare for 'production' X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=0770bd6bc1706cd6efc55a1eebcf6cf56479814e;p=libfirm Prepare for 'production' [r25761] --- diff --git a/ir/ir/ircons.c b/ir/ir/ircons.c index 8e199d256..b298a9285 100644 --- a/ir/ir/ircons.c +++ b/ir/ir/ircons.c @@ -168,7 +168,7 @@ new_d_##instr(dbg_info *db, ir_node *op, ir_mode *mode) { \ } #ifndef USE_ORIGINAL -#include "gen_ir_cons_py.c.inl" +#include "gen_ir_cons.c.inl" #else /** diff --git a/scripts/gen_ir.py b/scripts/gen_ir.py index e722c89d6..e89779126 100755 --- a/scripts/gen_ir.py +++ b/scripts/gen_ir.py @@ -113,7 +113,6 @@ def prepare_attr(attr): return dict(type = attr["type"], name = attr["name"]) def preprocess_node(nodename, node): - print "nodename: " + nodename if "is_a" in node: parent = ir_spec.nodes[node["is_a"]] node["ins"] = parent["ins"] @@ -149,7 +148,6 @@ def preprocess_node(nodename, node): specialconstrs = [ ] i = 0 for input in node["ins"]: - print "ins: " + input arguments.append(dict(type = "ir_node *", name = "irn_" + input)) i += 1 @@ -169,7 +167,6 @@ def preprocess_node(nodename, node): attrs_with_special = 0 for attr in node["attrs"]: - print "attr: " + attr["name"] if nodename == "Builtin" and attr["name"] == "kind": continue @@ -303,7 +300,7 @@ def main(argv): "Filter", "InstOf", "Mod", "NoMem", "Phi", "Quot", "Raise", "simpleSel", "strictConv", "SymConst", "SymConst_type", "Sync"] - file = open(gendir + "/gen_ir_cons_py.c.inl", "w") + file = open(gendir + "/gen_ir_cons.c.inl", "w") for nodename, node in do_dictsort(ir_spec.nodes): if nodename in niymap: continue