mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 12:29:15 +02:00
Fix set of frame poointer value for big local stack size
git-svn-id: trunk@21802 -
This commit is contained in:
parent
d2d5d17557
commit
6f12197d3b
@ -1512,7 +1512,7 @@ begin
|
||||
list.concat(framesave);
|
||||
if cs_asm_source in current_settings.globalswitches then
|
||||
list.concat(tai_comment.Create(strpnew('Frame register updated to $SP+R9 value')));
|
||||
list.concat(Taicpu.op_reg_reg_reg(A_ADDU,NR_FRAME_POINTER_REG,
|
||||
list.concat(Taicpu.op_reg_reg_reg(A_SUBU,NR_FRAME_POINTER_REG,
|
||||
NR_STACK_POINTER_REG,NR_R9));
|
||||
end;
|
||||
{ The instructions before are macros that can extend to multiple instructions,
|
||||
|
Loading…
Reference in New Issue
Block a user