projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d680f8
)
Panic when get_call_result_proj() does not find the Proj.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 4 Nov 2012 13:56:04 +0000
(14:56 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 5 Nov 2012 17:07:18 +0000
(18:07 +0100)
ir/be/ia32/ia32_x87.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_x87.c
b/ir/be/ia32/ia32_x87.c
index
80a6117
..
b5ca4ed
100644
(file)
--- a/
ir/be/ia32/ia32_x87.c
+++ b/
ir/be/ia32/ia32_x87.c
@@
-1805,7
+1805,7
@@
static ir_node *get_call_result_proj(ir_node *call)
return proj;
}
-
return NULL
;
+
panic("result Proj missing")
;
}
static int sim_Asm(x87_state *const state, ir_node *const n)
@@
-1863,7
+1863,6
@@
static int sim_Call(x87_state *state, ir_node *n)
goto end_call;
resproj = get_call_result_proj(n);
- assert(resproj != NULL);
reg = x87_get_irn_register(resproj);
x87_push(state, arch_register_get_index(reg), resproj);