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
0f96ee7e
Commit
0f96ee7e
authored
Aug 03, 2015
by
Christoph Mallon
Browse files
ir: Small cleanup in assertions.
parent
c3cc8870
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irop.c
View file @
0f96ee7e
...
...
@@ -119,14 +119,14 @@ void ir_clear_opcodes_generic_func(void)
void
ir_op_set_memory_index
(
ir_op
*
op
,
int
memory_index
)
{
assert
(
op
->
flags
&
irop_flag
_uses_memory
);
assert
(
is_op
_uses_memory
(
op
)
);
op
->
memory_index
=
memory_index
;
}
void
ir_op_set_fragile_indices
(
ir_op
*
op
,
unsigned
pn_x_regular
,
unsigned
pn_x_except
)
{
assert
(
op
->
flags
&
irop_flag
_fragile
);
assert
(
is_op
_fragile
(
op
)
);
op
->
pn_x_regular
=
pn_x_regular
;
op
->
pn_x_except
=
pn_x_except
;
}
...
...
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