djrieger / mjplusplus

A compiler for the MiniJava language
http://djrieger.github.io/mjplusplus/doc/doxygen/html/
6 stars 1 forks source link

Fix segfaults in Phi optimization #88

Closed djrieger closed 9 years ago

djrieger commented 9 years ago

When uncommenting the code marked with //TODO: Fix segfaults in FirmNodeHandler.cpp, Firm segfaults. This is due to some calls to exchange() which do not set the tarval/irn_link of the newly created node.