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
67db5eec
Commit
67db5eec
authored
Jun 28, 2007
by
Matthias Braun
Browse files
emitting NoReg is always wrong
[r14827]
parent
f2c57dfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
67db5eec
...
...
@@ -86,8 +86,11 @@ const arch_register_t *get_in_reg(ia32_emit_env_t *env, const ir_node *irn,
assert
(
reg
&&
"no in register found"
);
/* in case of a joker register: just return a valid register */
if
(
arch_register_type_is
(
reg
,
joker
))
{
if
(
reg
==
&
ia32_gp_regs
[
REG_GP_NOREG
])
panic
(
"trying to emit noreg"
);
/* in case of unknown register: just return a valid register */
if
(
reg
==
&
ia32_gp_regs
[
REG_GP_UKNWN
])
{
const
arch_register_req_t
*
req
;
/* ask for the requirements */
...
...
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