Commit f9a010d8 authored by Christian Würdig's avatar Christian Würdig
Browse files

fixed be_Return gen

parent 987fdb8e
......@@ -2333,7 +2333,7 @@ static ir_node *gen_be_Return(ia32_transform_env_t *env) {
entity *ent = get_irg_entity(get_irn_irg(ret_val));
ir_type *tp = get_entity_type(ent);
if (! ret_val || ! USE_SSE2(env->cg))
if (be_Return_get_n_rets(env->irn) < 1 || ! ret_val || ! USE_SSE2(env->cg))
return NULL;
......
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