mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-19 22:59:33 +02:00
* use NR_LOCAL_STACK_POINTER_REG in ttgwasm.localVarToRef
git-svn-id: branches/wasm@47777 -
This commit is contained in:
parent
ce8439fb36
commit
fd690e8ba1
@ -397,7 +397,7 @@ unit tgcpu;
|
||||
|
||||
procedure ttgwasm.localVarToRef(idx: integer; size: integer; out ref: treference);
|
||||
begin
|
||||
reference_reset_base(ref, current_procinfo.framepointer,idx,ctempposinvalid,size,[]);
|
||||
reference_reset_base(ref,NR_LOCAL_STACK_POINTER_REG,idx,ctempposinvalid,size,[]);
|
||||
ref.islocal := true;
|
||||
updateFirstTemp;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user