fixed detection of malloc property:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 6 Jan 2008 16:33:18 +0000 (16:33 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 6 Jan 2008 16:33:18 +0000 (16:33 +0000)
commita2b3a133cc8333c011581a8b03d65316c2c631a4
tree4a48cbdc49ecd2be2f1de493b87de78d7322196a
parent6dea1e5372e3b3d0996c1b2332afa79b75099987
fixed detection of malloc property:
 - used allocator callback from frontend
 - methods returning 0 results are not strict malloc
 - only methods returning allocations can be malloc
 - check the the result is not stored anywhere before returning, this would create an alias (and is not malloc)
 - don't kill the malloc property when only checking for nothrow

[r17170]
include/libfirm/iroptimize.h
ir/opt/funccall.c