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
b7a5fc14
Commit
b7a5fc14
authored
Jan 25, 2016
by
Christoph Mallon
Browse files
be: Assert that 'in' and 'in_reqs' have the same length in be_make_asm().
parent
7b4fe6ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beasm.c
View file @
b7a5fc14
...
...
@@ -193,6 +193,8 @@ static bool match_requirement(arch_register_req_t const **reqs, size_t const n_r
ir_node
*
be_make_asm
(
ir_node
const
*
const
node
,
ir_node
**
in
,
arch_register_req_t
const
**
in_reqs
,
arch_register_req_t
const
**
out_reqs
,
void
*
const
operands
)
{
assert
(
ARR_LEN
(
in
)
==
ARR_LEN
(
in_reqs
));
ir_graph
*
const
irg
=
get_irn_irg
(
node
);
struct
obstack
*
const
obst
=
get_irg_obstack
(
irg
);
...
...
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