mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-03 15:18:30 +02:00
* use LOC_REGISTER instead of LOC_CREGISTER for constant string pointers
git-svn-id: trunk@11661 -
This commit is contained in:
parent
3e7ab056a9
commit
ffeba2fd10
@ -403,7 +403,7 @@ implementation
|
||||
end;
|
||||
if cst_type in [cst_ansistring, cst_widestring] then
|
||||
begin
|
||||
location_reset(location, LOC_CREGISTER, OS_ADDR);
|
||||
location_reset(location, LOC_REGISTER, OS_ADDR);
|
||||
reference_reset_symbol(href, lab_str, 0);
|
||||
location.register:=cg.getaddressregister(current_asmdata.CurrAsmList);
|
||||
cg.a_loadaddr_ref_reg(current_asmdata.CurrAsmList,href,location.register);
|
||||
|
Loading…
Reference in New Issue
Block a user