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
b483d658
Commit
b483d658
authored
Apr 04, 2006
by
Michael Beck
Browse files
used new machine user bit 0 to detect x87 instructions
parent
018bd2d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
b483d658
...
...
@@ -52,9 +52,8 @@ static const arch_env_t *arch_env = NULL;
/**
* returns true if a node has x87 registers
*/
static
int
has_x87_register
(
const
ir_node
*
n
)
{
return
get_irn_op
(
n
)
->
flags
&
(
irop_flag_machine
<<
1
);
static
int
has_x87_register
(
const
ir_node
*
n
)
{
return
is_irn_machine_user
(
n
,
0
);
}
/* We always pass the ir_node which is a pointer. */
...
...
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