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
ed1aab0a
Commit
ed1aab0a
authored
Apr 10, 2006
by
Christian Würdig
Browse files
changed labels back to block number instead of lokal index
parent
6946c01d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
ed1aab0a
...
@@ -735,7 +735,7 @@ static ir_node *get_cfop_target_block(const ir_node *irn) {
...
@@ -735,7 +735,7 @@ static ir_node *get_cfop_target_block(const ir_node *irn) {
static
char
*
get_cfop_target
(
const
ir_node
*
irn
,
char
*
buf
)
{
static
char
*
get_cfop_target
(
const
ir_node
*
irn
,
char
*
buf
)
{
ir_node
*
bl
=
get_cfop_target_block
(
irn
);
ir_node
*
bl
=
get_cfop_target_block
(
irn
);
snprintf
(
buf
,
SNPRINTF_BUF_LEN
,
BLOCK_PREFIX
(
"%ld"
),
get_irn_
idx
(
bl
));
snprintf
(
buf
,
SNPRINTF_BUF_LEN
,
BLOCK_PREFIX
(
"%ld"
),
get_irn_
node_nr
(
bl
));
return
buf
;
return
buf
;
}
}
...
@@ -1581,7 +1581,8 @@ static void ia32_gen_block(ir_node *block, void *env) {
...
@@ -1581,7 +1581,8 @@ static void ia32_gen_block(ir_node *block, void *env) {
}
}
if
(
need_label
)
if
(
need_label
)
fprintf
(
emit_env
->
out
,
BLOCK_PREFIX
(
"%ld:
\n
"
),
get_irn_idx
(
block
));
fprintf
(
emit_env
->
out
,
BLOCK_PREFIX
(
"%ld:
\n
"
),
get_irn_node_nr
(
block
));
sched_foreach
(
block
,
irn
)
{
sched_foreach
(
block
,
irn
)
{
ia32_emit_node
(
irn
,
env
);
ia32_emit_node
(
irn
,
env
);
}
}
...
...
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