djrieger / mjplusplus

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

Use correct mode for Methodinvocation-Results #71

Closed BigPeet closed 9 years ago

BigPeet commented 9 years ago

Currently every result is created like this: result = new_Proj(tuple, getIntegerMode(), 0); This leads to errors, when we want to return a pointer/reference to an object. Then mode_P would be necessary. Or am i wrong?