* don't internalerror when converting to an open array and passing as

var/out parameter (these conversions are replaced by another
    construct on non-JVM targets, so didn't cause a problem there)

git-svn-id: branches/jvmbackend@18555 -
This commit is contained in:
Jonas Maebe 2011-08-20 08:10:00 +00:00
parent 704753d3e8
commit 60f8254d63

View File

@ -3347,6 +3347,8 @@ implementation
{ the same goes for changing the sign of equal-sized values which
are smaller than an entire register }
if result and
{ don't try to check the size of an open array }
is_open_array(resultdef) or
(resultdef.size<left.resultdef.size) or
((resultdef.size=left.resultdef.size) and
(left.resultdef.size<sizeof(aint)) and