rework taking of parameter addresses
authorMatthias Braun <matze@braunis.de>
Fri, 5 Aug 2011 08:58:44 +0000 (10:58 +0200)
committerMatthias Braun <matze@braunis.de>
Fri, 5 Aug 2011 08:58:44 +0000 (10:58 +0200)
commit00aca72471f6113ffc08986d5761ca2a22b60f34
tree0a46898c05f50d8720cde247d847e93a8917065b
parentb3b65d5e83b23c0d6c748c6caa4863803c58cc87
rework taking of parameter addresses

Use a special kind of entity on the frame type instead of a value_type
struct inside a method type. This makes replacement of function types
slightly easier (it's still a complex operation though) and handling in
the backend a bit more consistent since it's more or less a normal stack
access (with special offsets).
16 files changed:
include/libfirm/irgraph.h
include/libfirm/typerep.h
ir/be/arm/arm_transform.c
ir/be/beabi.c
ir/be/sparc/sparc_transform.c
ir/ir/irgraph.c
ir/ir/irio.c
ir/lower/lower_calls.c
ir/lower/lower_dw.c
ir/opt/opt_inline.c
ir/opt/scalar_replace.c
ir/tr/entity.c
ir/tr/entity_t.h
ir/tr/type.c
ir/tr/type_t.h
ir/tr/typewalk.c