Explorar o código

Assume TYPE_STR is returned in exactly the same way as TYPE_PTR is

nemerle %!s(int64=8) %!d(string=hai) anos
pai
achega
157a968372
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/chklib.cpp

+ 1 - 0
src/chklib.cpp

@@ -502,6 +502,7 @@ bool LibCheck(Function & pProc)
                         case TYPE_BYTE_SIGN: case TYPE_BYTE_UNSIGN:
                             pProc.liveOut.setReg(rAL);
                             break;
+                        case TYPE_STR:
                         case TYPE_PTR:
                             fprintf(stderr,"Warning assuming Large memory model\n");
                             pProc.liveOut.setReg(rAX).addReg(rDS);