Commit 5041b0dd authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: assert(), that get_ia32_latency() is only called for ia32 nodes.

parent 2be6077d
......@@ -645,6 +645,7 @@ void set_ia32_frame_ent(ir_node *node, ir_entity *ent)
unsigned get_ia32_latency(const ir_node *node)
const ir_op *op = get_irn_op(node);
const ia32_op_attr_t *op_attr = (ia32_op_attr_t*) get_op_attr(op);
return op_attr->latency;
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