mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 19:30:32 +02:00
* allocate space for the explicitly allocated assert parameter
git-svn-id: trunk@20501 -
This commit is contained in:
parent
7ea7031017
commit
34df763ab1
@ -3081,6 +3081,12 @@ implementation
|
||||
in_assert_x_y :
|
||||
begin
|
||||
expectloc:=LOC_VOID;
|
||||
{$ifdef i386}
|
||||
{ hack: on i386, the fourth parameter is passed via memory ->
|
||||
we have to allocate enough stack space for it on targets that
|
||||
use a fixed stack }
|
||||
current_procinfo.allocate_push_parasize(4);
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
in_low_x,
|
||||
|
Loading…
Reference in New Issue
Block a user