mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 11:24:14 +02:00
* make sure that integers converted to widechar are always processed by an
i2c instruction for Dalvik verification purposes git-svn-id: branches/jvmbackend@19826 -
This commit is contained in:
parent
764502fbe4
commit
af9934cb6c
@ -550,8 +550,9 @@ implementation
|
||||
end
|
||||
else
|
||||
begin
|
||||
if (ressize < sizeof(aint)) and
|
||||
(def_cgsize(left.resultdef)<>def_cgsize(resultdef)) then
|
||||
if ((ressize < sizeof(aint)) and
|
||||
(def_cgsize(left.resultdef)<>def_cgsize(resultdef))) or
|
||||
(is_widechar(left.resultdef)<>is_widechar(resultdef)) then
|
||||
begin
|
||||
location_reset(location,LOC_REGISTER,def_cgsize(resultdef));
|
||||
location.register:=hlcg.getintregister(current_asmdata.CurrAsmList,resultdef);
|
||||
|
Loading…
Reference in New Issue
Block a user