mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-22 21:19:37 +01: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
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
if (ressize < sizeof(aint)) and
|
if ((ressize < sizeof(aint)) and
|
||||||
(def_cgsize(left.resultdef)<>def_cgsize(resultdef)) then
|
(def_cgsize(left.resultdef)<>def_cgsize(resultdef))) or
|
||||||
|
(is_widechar(left.resultdef)<>is_widechar(resultdef)) then
|
||||||
begin
|
begin
|
||||||
location_reset(location,LOC_REGISTER,def_cgsize(resultdef));
|
location_reset(location,LOC_REGISTER,def_cgsize(resultdef));
|
||||||
location.register:=hlcg.getintregister(current_asmdata.CurrAsmList,resultdef);
|
location.register:=hlcg.getintregister(current_asmdata.CurrAsmList,resultdef);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user