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
f64cb5b2
Commit
f64cb5b2
authored
Feb 27, 2009
by
Michael Beck
Browse files
- BugFix: value_param_tp must always exist
[r25573]
parent
41eca21e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/lower/lower_dw.c
View file @
f64cb5b2
...
...
@@ -120,9 +120,7 @@ typedef struct _lower_env_t {
const
lwrdw_param_t
*
params
;
/**< transformation parameter */
unsigned
flags
;
/**< some flags */
int
n_entries
;
/**< number of entries */
#ifndef NDEBUG
ir_type
*
value_param_tp
;
/**< the old value param type */
#endif
}
lower_env_t
;
/**
...
...
@@ -2661,9 +2659,7 @@ void lower_dw_ops(const lwrdw_param_t *param)
lenv
.
l_mtp
=
NULL
;
lenv
.
flags
=
0
;
lenv
.
proj_2_block
=
pmap_create
();
#ifndef NDEBUG
lenv
.
value_param_tp
=
NULL
;
#endif
ir_reserve_resources
(
irg
,
IR_RESOURCE_PHI_LIST
|
IR_RESOURCE_IRN_LINK
);
ent
=
get_irg_entity
(
irg
);
...
...
@@ -2674,9 +2670,7 @@ void lower_dw_ops(const lwrdw_param_t *param)
lenv
.
flags
|=
MUST_BE_LOWERED
;
set_entity_type
(
ent
,
ltp
);
lenv
.
l_mtp
=
ltp
;
#ifndef NDEBUG
lenv
.
value_param_tp
=
get_method_value_param_type
(
mtp
);
#endif
}
/* if */
/* first step: link all nodes and allocate data */
...
...
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