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
f4e3942b
Commit
f4e3942b
authored
Nov 14, 2012
by
Christoph Mallon
Browse files
x87: Fix harmless typo in sim_binop().
The last parameter of x87_create_fpush() is used for debugging only.
parent
0dd7a06d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_x87.c
View file @
f4e3942b
...
...
@@ -772,8 +772,8 @@ static int sim_binop(x87_state *const state, ir_node *const n, ir_op *const op)
if
(
op1_live_after
)
{
/* Both operands are live: push the first one.
This works even for op1 == op2. */
x87_create_fpush
(
state
,
n
,
op1_idx
,
out_reg_idx
,
op
2
);
*
This works even for op1 == op2. */
x87_create_fpush
(
state
,
n
,
op1_idx
,
out_reg_idx
,
op
1
);
/* now do fxxx (tos=tos X op) */
op1_idx
=
0
;
op2_idx
+=
1
;
...
...
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