mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 20:49:26 +02:00
* cleanup r6369
git-svn-id: trunk@6385 -
This commit is contained in:
parent
ebccbf720c
commit
a48c9fe3a0
@ -715,7 +715,6 @@ implementation
|
|||||||
var
|
var
|
||||||
ps : tprocsym;
|
ps : tprocsym;
|
||||||
pd : tprocdef;
|
pd : tprocdef;
|
||||||
store_pocall : tproccalloption;
|
|
||||||
begin
|
begin
|
||||||
{ there should be no current_procinfo available }
|
{ there should be no current_procinfo available }
|
||||||
if assigned(current_procinfo) then
|
if assigned(current_procinfo) then
|
||||||
@ -732,15 +731,11 @@ implementation
|
|||||||
{ set procdef options }
|
{ set procdef options }
|
||||||
pd.proctypeoption:=potype;
|
pd.proctypeoption:=potype;
|
||||||
pd.proccalloption:=pocall_default;
|
pd.proccalloption:=pocall_default;
|
||||||
|
include(pd.procoptions,po_hascallingconvention);
|
||||||
pd.forwarddef:=false;
|
pd.forwarddef:=false;
|
||||||
pd.setmangledname(target_info.cprefix+name);
|
pd.setmangledname(target_info.cprefix+name);
|
||||||
pd.aliasnames.insert(pd.mangledname);
|
pd.aliasnames.insert(pd.mangledname);
|
||||||
{ We should leave it as pocall_default
|
|
||||||
see webbug 8270 PM }
|
|
||||||
store_pocall:=current_settings.defproccall;
|
|
||||||
current_settings.defproccall:=pocall_default;
|
|
||||||
handle_calling_convention(pd);
|
handle_calling_convention(pd);
|
||||||
current_settings.defproccall:=store_pocall;
|
|
||||||
{ We don't need is a local symtable. Change it into the static
|
{ We don't need is a local symtable. Change it into the static
|
||||||
symtable }
|
symtable }
|
||||||
pd.localst.free;
|
pd.localst.free;
|
||||||
|
Loading…
Reference in New Issue
Block a user