mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 19:26:09 +02:00
* allocate the base and frame pointer correctly as locals after the previous commit
git-svn-id: branches/wasm@47876 -
This commit is contained in:
parent
c3ac9eb559
commit
90251d7050
@ -1673,8 +1673,9 @@ implementation
|
||||
pd:=tcpuprocdef(current_procinfo.procdef);
|
||||
g_procdef(list,pd);
|
||||
|
||||
tg.gethltemp(list,voidpointertype,voidpointertype.size,tt_persistent,pd.frame_pointer_ref);
|
||||
tg.gethltemp(list,voidpointertype,voidpointertype.size,tt_persistent,pd.base_pointer_ref);
|
||||
{ hack: we use tt_regallocator to force a local }
|
||||
tg.gethltemp(list,voidpointertype,voidpointertype.size,tt_regallocator,pd.frame_pointer_ref);
|
||||
tg.gethltemp(list,voidpointertype,voidpointertype.size,tt_regallocator,pd.base_pointer_ref);
|
||||
|
||||
{ the localsize is based on tg.lasttemp -> already in terms of stack
|
||||
slots rather than bytes }
|
||||
|
Loading…
Reference in New Issue
Block a user