Commit a47d28b4 authored by Matthias Braun's avatar Matthias Braun
Browse files

emit a 0 if none of the AM info is set

[r15494]
parent 9722c0d8
......@@ -662,6 +662,11 @@ void ia32_emit_am(ia32_emit_env_t *env, const ir_node *node) {
}
be_emit_char(env, ')');
}
/* special case if nothing is set */
if(ent == NULL && offs == 0 && !has_base && !has_index) {
be_emit_char(env, '0');
}
}
/*************************************************
......
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