mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 02:33:09 +02:00
* change the resultdef of nf_load_procvar typeconversion nodes from
voidpointerdef to java_jlobject (they're generated by generic code in nmem; avoids an ifdef for the jvm target there) git-svn-id: branches/jvmbackend@18554 -
This commit is contained in:
parent
aaff356c6d
commit
704753d3e8
@ -684,6 +684,12 @@ implementation
|
||||
end;
|
||||
|
||||
{$ifndef nounsupported}
|
||||
{ generated in nmem; replace voidpointertype with java_jlobject }
|
||||
if nf_load_procvar in flags then
|
||||
begin
|
||||
self.totypedef:=java_jlobject;
|
||||
resultdef:=java_jlobject;
|
||||
end;
|
||||
if isvalidprocvartypeconv(left.resultdef,resultdef) then
|
||||
begin
|
||||
convtype:=tc_equal;
|
||||
|
Loading…
Reference in New Issue
Block a user