mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 03:50:36 +02:00
- removed useless ansistring pointer def creation from r32209
git-svn-id: trunk@32210 -
This commit is contained in:
parent
0dee7cb4a0
commit
998cdbfe79
@ -1641,7 +1641,6 @@ implementation
|
|||||||
procedure ttai_typedconstbuilder.queue_emit_const(cs: tconstsym);
|
procedure ttai_typedconstbuilder.queue_emit_const(cs: tconstsym);
|
||||||
var
|
var
|
||||||
resourcestrrec: trecorddef;
|
resourcestrrec: trecorddef;
|
||||||
ansiptr: tdef;
|
|
||||||
begin
|
begin
|
||||||
if cs.consttyp<>constresourcestring then
|
if cs.consttyp<>constresourcestring then
|
||||||
internalerror(2014062102);
|
internalerror(2014062102);
|
||||||
@ -1652,7 +1651,6 @@ implementation
|
|||||||
constresourcestring:
|
constresourcestring:
|
||||||
begin
|
begin
|
||||||
resourcestrrec:=trecorddef(search_system_type('TRESOURCESTRINGRECORD').typedef);
|
resourcestrrec:=trecorddef(search_system_type('TRESOURCESTRINGRECORD').typedef);
|
||||||
ansiptr:=cpointerdef.getreusable(cansistringtype);
|
|
||||||
queue_subscriptn_multiple_by_name(resourcestrrec,['CURRENTVALUE']);
|
queue_subscriptn_multiple_by_name(resourcestrrec,['CURRENTVALUE']);
|
||||||
queue_emit_asmsym(current_asmdata.RefAsmSymbol(
|
queue_emit_asmsym(current_asmdata.RefAsmSymbol(
|
||||||
make_mangledname('RESSTR',cs.owner,cs.name),AT_DATA),cansistringtype
|
make_mangledname('RESSTR',cs.owner,cs.name),AT_DATA),cansistringtype
|
||||||
|
Loading…
Reference in New Issue
Block a user