Commit 33447340 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

DeMorgan to the rescue!

[r27751]
parent 4764ebb8
......@@ -132,7 +132,7 @@ static const arch_register_t *get_out_reg(const ir_node *node, int pos)
void sparc_emit_immediate(const ir_node *node)
{
const sparc_attr_t *attr = get_sparc_attr_const(node);
assert(!(attr->immediate_value < -4096 || attr->immediate_value >= 4096));
assert(-4096 <= attr->immediate_value && attr->immediate_value < 4096);
be_emit_irprintf("%d", attr->immediate_value);
}
......
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