Commit e1b0701f authored by Sebastian Hack's avatar Sebastian Hack
Browse files

Fixed the bugfix

parent d60e46b8
......@@ -2341,7 +2341,7 @@ static ir_node *gen_be_Return(ia32_transform_env_t *env) {
ir_type *res_type = get_method_res_type(tp, 0);
ir_mode *mode;
assert(is_Primitive_type(res_type));
if(is_Primitive_type(res_type)) {
mode = get_type_mode(res_type);
if(mode_is_float(mode)) {
ir_node *frame = get_irg_frame(env->irg);
......@@ -2374,6 +2374,7 @@ static ir_node *gen_be_Return(ia32_transform_env_t *env) {
set_irn_n(env->irn, be_pos_Return_mem, mproj);
}
}
}
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