Alternative fix for const functions with aggregate return
authorMatthias Braun <matze@braunis.de>
Mon, 5 Sep 2011 12:07:17 +0000 (14:07 +0200)
committerMatthias Braun <matze@braunis.de>
Tue, 6 Sep 2011 11:57:04 +0000 (13:57 +0200)
commit8e3e1d5fcb46e4fc58eb0fe616ab24f3af214a33
treea08f9bb15e6b58407d5c1636c1029819dd702784
parentcf7a9efa904172b57ac9bf422039638798998689
Alternative fix for const functions with aggregate return

They really are const before lowering. So only mark the function
as non-const after lowering

This reverts commit 72c631f337f78b20460c508bd8af37fe67a5af37.
ir/lower/lower_calls.c
ir/opt/funccall.c