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

BugFix: when transforming be_Call nodes it can happen that they don't have a memory

parent 70f0dcfa
......@@ -2292,6 +2292,9 @@ static ir_node *gen_be_Call(ia32_transform_env_t *env) {
mode = get_irn_mode(call_res);
if (! call_mem)
call_mem = get_irg_no_mem(env->irg);
if (mode_is_float(mode)) {
/* store st(0) onto stack */
ir_node *frame = get_irg_frame(env->irg);
......
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