Implement reference_expression_to_firm() by using reference_addr() in most cases.
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 16 May 2012 05:05:40 +0000 (07:05 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 16 May 2012 05:05:40 +0000 (07:05 +0200)
commit599f3e2bf39b65bebc51971f5b01a50fc41410b3
tree93e027ab500a3d774ee90ee9940ce67ad07b227c
parent188cd4cc8ba69ffabfbf3b78db6a36697cff79f6
Implement reference_expression_to_firm() by using reference_addr() in most cases.

- Correct the problem, that implicitly taking the address of a builtin function (without &) works, but using & panics by moving the special case handling to reference_addr().
- Reduces code duplication.
ast2firm.c