mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 02:29:52 +02:00
+ added comment, documenting the purpose of the STACK_POINTER_SYM constant
git-svn-id: branches/wasm@47252 -
This commit is contained in:
parent
f187334763
commit
762fdf593e
@ -273,6 +273,12 @@ uses
|
|||||||
maxfpuregs = 0;
|
maxfpuregs = 0;
|
||||||
FRAME_POINTER_SYM = '$fp';
|
FRAME_POINTER_SYM = '$fp';
|
||||||
BASE_POINTER_SYM = '$bp';
|
BASE_POINTER_SYM = '$bp';
|
||||||
|
|
||||||
|
{ Global variable, that acts as the stack pointer in linear memory
|
||||||
|
(also called the "linear stack"). This stack is used for address-taken
|
||||||
|
local variables. This separate stack is needed, because the WASM
|
||||||
|
implementation's runtime call stack (which includes return addresses and
|
||||||
|
function parameters) is not visible in linear memory. }
|
||||||
STACK_POINTER_SYM = '__stack_pointer';
|
STACK_POINTER_SYM = '__stack_pointer';
|
||||||
|
|
||||||
{*****************************************************************************
|
{*****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user