Commit 0e629e46 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Moved assertion into if clause

It is not necessary to assert anything about lsmode, if
it isn't used anyways.

parent 43f61f31
......@@ -291,11 +291,12 @@ void ia32_emit_mode_suffix(const ir_node *node)
void ia32_emit_x87_mode_suffix(const ir_node *node)
ir_mode *mode = get_ia32_ls_mode(node);
assert(mode != NULL);
/* we only need to emit the mode on address mode */
if(get_ia32_op_type(node) != ia32_Normal)
if(get_ia32_op_type(node) != ia32_Normal) {
ir_mode *mode = get_ia32_ls_mode(node);
assert(mode != NULL);
static char get_xmm_mode_suffix(ir_mode *mode)
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