Commit 1a68ac34 authored by Matthias Braun's avatar Matthias Braun
Browse files

small fixes

[r26152]
parent 468b10f9
......@@ -411,7 +411,7 @@ def main(argv):
gendir = argv[2]
# List of TODOs
niymap = [ "ASM", "Const", "defaultProj", "Phi", "SymConst", "Sync"]
niymap = [ "ASM", "Const", "Phi", "SymConst", "Sync"]
file = open(gendir + "/gen_ir_cons.c.inl", "w")
for nodename, node in do_dictsort(nodes):
......
......@@ -657,6 +657,13 @@ Phi = dict(
attr_struct = "phi_attr",
custom_is = True,
java_noconstr = True,
init = '''
/* Memory Phis in endless loops must be kept alive.
As we can't distinguish these easily we keep all of them alive. */
if (is_Phi(res) && mode == mode_M)
add_End_keepalive(get_irg_end(irg), res);
'''
),
Pin = dict(
......
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