projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f322750
)
ast2firm: Keep the ijmp block and memory.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 21 Nov 2012 15:42:49 +0000
(16:42 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 21 Nov 2012 18:39:36 +0000
(19:39 +0100)
It might be an (endless) loop header.
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
b425a1e
..
81c0a48
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-5225,6
+5225,7
@@
static void create_function(entity_t *entity)
}
if (enter_jump_target(&ijmp_target)) {
+ keep_loop();
size_t const n = ARR_LEN(ijmp_ops);
ir_node *const op = n == 1 ? ijmp_ops[0] : new_Phi(n, ijmp_ops, get_irn_mode(ijmp_ops[0]));
ir_node *const ijmp = new_IJmp(op);