Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
94786154
Commit
94786154
authored
Jul 22, 2010
by
Matthias Braun
Browse files
fix sparc stack offset emitter
[r27783]
parent
1841e1ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_emitter.c
View file @
94786154
...
...
@@ -163,8 +163,9 @@ void sparc_emit_offset(const ir_node *node)
const
sparc_load_store_attr_t
*
attr
=
get_sparc_load_store_attr_const
(
node
);
assert
(
attr
->
base
.
is_load_store
);
if
(
attr
->
offset
>
0
)
be_emit_irprintf
(
"+%ld"
,
attr
->
offset
);
if
(
attr
->
offset
!=
0
)
{
be_emit_irprintf
(
"%+ld"
,
attr
->
offset
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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