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
69a73782
Commit
69a73782
authored
Apr 06, 2009
by
Michael Beck
Browse files
- constify
[r25802]
parent
f0fdd2bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/libfirm/typerep.h
View file @
69a73782
...
...
@@ -993,7 +993,7 @@ ir_entity *resolve_ent_polymorphy(ir_type *dynamic_class, ir_entity* static_ent)
*
* Returns an ident that consists of the name of type followed by an
* underscore and the name (not ld_name) of the entity. */
ident
*
default_mangle_inherited_name
(
ir_entity
*
ent
,
ir_type
*
clss
);
ident
*
default_mangle_inherited_name
(
const
ir_entity
*
ent
,
const
ir_type
*
clss
);
/** Type of argument functions for inheritance resolver.
*
...
...
ir/tr/tr_inheritance.c
View file @
69a73782
...
...
@@ -41,7 +41,7 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg);
/* Resolve implicit inheritance. */
/* ----------------------------------------------------------------------- */
ident
*
default_mangle_inherited_name
(
ir_entity
*
super
,
ir_type
*
clss
)
{
ident
*
default_mangle_inherited_name
(
const
ir_entity
*
super
,
const
ir_type
*
clss
)
{
return
id_mangle_u
(
new_id_from_str
(
"inh"
),
id_mangle_u
(
get_type_ident
(
clss
),
get_entity_ident
(
super
)));
}
...
...
@@ -615,6 +615,9 @@ typedef struct ccs_env {
ir_class_cast_state
worst_situation
;
}
ccs_env
;
/**
* Walker: check Casts.
*/
static
void
verify_irn_class_cast_state
(
ir_node
*
n
,
void
*
env
)
{
ccs_env
*
ccs
=
(
ccs_env
*
)
env
;
ir_class_cast_state
this_state
=
ir_class_casts_any
;
...
...
Write
Preview
Markdown
is supported
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