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

amd64: Remove strange is_Deleted(start) check from introduce_prologue_epilogue().

If the start node was deleted, something is very wrong.
parent 4a631264
...@@ -589,9 +589,6 @@ static void introduce_prologue_epilogue(ir_graph *irg) ...@@ -589,9 +589,6 @@ static void introduce_prologue_epilogue(ir_graph *irg)
ir_node *initial_sp = be_get_initial_reg_value(irg, sp); ir_node *initial_sp = be_get_initial_reg_value(irg, sp);
ir_mode *mode_gp = mode_Lu; ir_mode *mode_gp = mode_Lu;
if (is_Deleted(start))
if (!layout->sp_relative) { if (!layout->sp_relative) {
/* push rbp */ /* push rbp */
ir_node *push = new_bd_amd64_push_rbp(NULL, block, initial_sp); ir_node *push = new_bd_amd64_push_rbp(NULL, block, initial_sp);
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