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

betranshlp: Simply crash with on null pointer instead of having an explicit panic.

parent 01c4c27c
......@@ -214,9 +214,6 @@ ir_node *be_transform_node(ir_node *node)
DEBUG_ONLY(be_set_transformed_node(node, NULL);)
ir_op *op = get_irn_op(node);
if (op->ops.generic == NULL) {
panic("No transform function registered for node %+F.", node);
}
be_transform_func *transform = (be_transform_func *)op->ops.generic;
new_node = transform(node);
......
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