Commit 255acfca authored by Christoph Mallon's avatar Christoph Mallon
Browse files

op: Use new_id_from_str(x) instead of new_id_from_chars(x, strlen(x)).

parent 24e65411
......@@ -56,7 +56,7 @@ ir_op *new_ir_op(unsigned code, const char *name, op_pin_state p,
ir_op *res = XMALLOCZ(ir_op);
res->code = code;
res->name = new_id_from_chars(name, strlen(name));
res->name = new_id_from_str(name);
res->pin_state = p;
res->attr_size = attr_size;
res->flags = flags;
......
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