projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e8f2f0
)
make block numbers accross functions more deterministic
author
Matthias Braun
<matze@braunis.de>
Thu, 30 Aug 2012 11:46:38 +0000
(13:46 +0200)
committer
Matthias Braun
<matze@braunis.de>
Thu, 30 Aug 2012 12:18:55 +0000
(14:18 +0200)
I aligning them to a multiple of 100 now, so that when code generated in
an earlier functions only changes lightly it is very likely that the
block numbers in later functions stay the same.
ir/be/begnuas.c
patch
|
blob
|
history
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
1182918
..
0d5195d
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-592,7
+592,8
@@
void be_gas_emit_function_epilog(const ir_entity *entity)
be_emit_char('\n');
be_emit_write_line();
be_emit_char('\n');
be_emit_write_line();
- next_block_nr += 100;
+ next_block_nr += 199;
+ next_block_nr = next_block_nr/100*100;
}
/**
}
/**