projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05ec784
)
use ir_type from call instead of the type from the symconst entity in mapper
author
Matthias Braun
<matze@braunis.de>
Sat, 31 May 2008 10:47:43 +0000
(10:47 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 31 May 2008 10:47:43 +0000
(10:47 +0000)
[r19887]
ir/lower/lower_intrinsics.c
patch
|
blob
|
history
diff --git
a/ir/lower/lower_intrinsics.c
b/ir/lower/lower_intrinsics.c
index
bf97301
..
6c95c31
100644
(file)
--- a/
ir/lower/lower_intrinsics.c
+++ b/
ir/lower/lower_intrinsics.c
@@
-691,9
+691,7
@@
int i_mapper_strcmp(ir_node *call, void *ctx) {
ir_node *irn = NULL;
ir_node *exc = NULL;
ir_node *reg = NULL;
- ir_node *adr = get_Call_ptr(call);
- ir_entity *ent = get_SymConst_entity(adr);
- ir_type *call_tp = get_entity_type(ent);
+ ir_type *call_tp = get_Call_type(call);
ir_type *res_tp = get_method_res_type(call_tp, 0);
ir_entity *ent_l, *ent_r;
ir_type *char_tp;