Explorar el Código

* fixed the size used for setting uninitialised function results if it
has to be zero/sign-extended for ABI reasons

git-svn-id: trunk@32742 -

Jonas Maebe hace 9 años
padre
commit
205136f924
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/llvm/hlcgllvm.pas

+ 1 - 1
compiler/llvm/hlcgllvm.pas

@@ -1233,7 +1233,7 @@ implementation
             LOC_MMREGISTER:
               begin
                 resloc.check_simple_location;
-                list.concat(taillvm.op_reg_size_undef(la_bitcast,resloc.location^.register,resloc.location^.def));
+                list.concat(taillvm.op_reg_size_undef(la_bitcast,resloc.location^.register,llvmgetcgparadef(resloc,true)));
               end;
             else
               internalerror(2015042301);