- removed useless ansistring pointer def creation from r32209

git-svn-id: trunk@32210 -
This commit is contained in:
Jonas Maebe 2015-10-30 20:56:34 +00:00
parent 0dee7cb4a0
commit 998cdbfe79

View File

@ -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