djrieger / mjplusplus

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

Implement Firm node generation for while statements #66

Closed djrieger closed 9 years ago

maxvogel commented 9 years ago

did some work on this, once a solution to the problem with modes (P64 vs. Is) is known, it shouldn't a huge problem to finally get this right. Added some comments that describe what exactly we want to do in the while statement.

djrieger commented 9 years ago

While statements seem to work correctly now, except when using variable/constant comparions in the condition (same for if's). Created a new issue for the error described above: #72