Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
255acfca
Commit
255acfca
authored
Oct 19, 2014
by
Christoph Mallon
Browse files
op: Use new_id_from_str(x) instead of new_id_from_chars(x, strlen(x)).
parent
24e65411
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irop.c
View file @
255acfca
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment