From ffeba2fd1068b9aa121c31f124f3a8db8a875fcc Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Thu, 28 Aug 2008 21:03:14 +0000 Subject: [PATCH] * use LOC_REGISTER instead of LOC_CREGISTER for constant string pointers git-svn-id: trunk@11661 - --- compiler/ncgcon.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ncgcon.pas b/compiler/ncgcon.pas index 4fd1ef51aa..9e9254be0e 100644 --- a/compiler/ncgcon.pas +++ b/compiler/ncgcon.pas @@ -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);