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
d4f004d8
Commit
d4f004d8
authored
Sep 29, 2007
by
Christoph Mallon
Browse files
In get_out_reg() assert that the requested outreg position is 0 when the node is not mode_T.
[r15997]
parent
f0bc18d3
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
d4f004d8
...
...
@@ -124,6 +124,7 @@ static const arch_register_t *get_out_reg(const ir_node *irn, int pos)
/* Proj with the corresponding projnum for the register */
if
(
get_irn_mode
(
irn
)
!=
mode_T
)
{
assert
(
pos
==
0
);
reg
=
arch_get_irn_register
(
arch_env
,
irn
);
}
else
if
(
is_ia32_irn
(
irn
))
{
reg
=
get_ia32_out_reg
(
irn
,
pos
);
...
...
Write
Preview
Supports
Markdown
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