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
b6bbfaeb
Commit
b6bbfaeb
authored
May 31, 2008
by
Matthias Braun
Browse files
use ir_type from call instead of the type from the symconst entity in mapper
[r19887]
parent
05ec7841
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/lower/lower_intrinsics.c
View file @
b6bbfaeb
...
@@ -691,9 +691,7 @@ int i_mapper_strcmp(ir_node *call, void *ctx) {
...
@@ -691,9 +691,7 @@ int i_mapper_strcmp(ir_node *call, void *ctx) {
ir_node
*
irn
=
NULL
;
ir_node
*
irn
=
NULL
;
ir_node
*
exc
=
NULL
;
ir_node
*
exc
=
NULL
;
ir_node
*
reg
=
NULL
;
ir_node
*
reg
=
NULL
;
ir_node
*
adr
=
get_Call_ptr
(
call
);
ir_type
*
call_tp
=
get_Call_type
(
call
);
ir_entity
*
ent
=
get_SymConst_entity
(
adr
);
ir_type
*
call_tp
=
get_entity_type
(
ent
);
ir_type
*
res_tp
=
get_method_res_type
(
call_tp
,
0
);
ir_type
*
res_tp
=
get_method_res_type
(
call_tp
,
0
);
ir_entity
*
ent_l
,
*
ent_r
;
ir_entity
*
ent_l
,
*
ent_r
;
ir_type
*
char_tp
;
ir_type
*
char_tp
;
...
...
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