Commit c59d37f4 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Use a real Dummy node instead of misusing an Unknown node and shortly deactivating CSE.

parent 40429a19
......@@ -2257,7 +2257,6 @@ be_abi_irg_t *be_abi_introduce(be_irg_t *birg)
pmap_entry *ent;
ir_node *dummy;
optimization_state_t state;
unsigned *limited_bitset;
arch_register_req_t *sp_req;
......@@ -2291,12 +2290,7 @@ be_abi_irg_t *be_abi_introduce(be_irg_t *birg)
sp_req->type |= arch_register_req_type_ignore;
/* Beware: later we replace this node by the real one, ensure it is not CSE'd
to another Unknown or the stack pointer gets used */
env->init_sp = dummy = new_r_Unknown(irg, env->arch_env->sp->reg_class->mode);
env->init_sp = dummy = new_r_Dummy(irg, env->arch_env->sp->reg_class->mode);
env->calls = NEW_ARR_F(ir_node*, 0);
Supports Markdown
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