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
862658eb
Commit
862658eb
authored
Jul 14, 2010
by
Michael Beck
Browse files
Fixed imm13 range inside assertion.
[r27739]
parent
c3f8810d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_emitter.c
View file @
862658eb
/*
* Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
* Copyright (C) 1995-20
1
0 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
...
...
@@ -132,7 +132,7 @@ static const arch_register_t *get_out_reg(const ir_node *node, int pos)
void
sparc_emit_immediate
(
const
ir_node
*
node
)
{
const
sparc_attr_t
*
attr
=
get_sparc_attr_const
(
node
);
assert
(
!
(
attr
->
immediate_value
<
-
4096
||
attr
->
immediate_value
>
4096
));
assert
(
!
(
attr
->
immediate_value
<
-
4096
||
attr
->
immediate_value
>
=
4096
));
be_emit_irprintf
(
"%d"
,
attr
->
immediate_value
);
}
...
...
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