From f138d66a2a8b4b86f96b514f66279227b8454ea9 Mon Sep 17 00:00:00 2001 From: nickysn Date: Mon, 28 Dec 2020 18:38:43 +0000 Subject: [PATCH] * switch NR_FRAME_POINTER_REG to NR_LOCAL_FRAME_POINTER_REG git-svn-id: branches/wasm@47874 - --- compiler/wasm32/cpubase.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/wasm32/cpubase.pas b/compiler/wasm32/cpubase.pas index 50e6fb74bd..14c3b4df50 100644 --- a/compiler/wasm32/cpubase.pas +++ b/compiler/wasm32/cpubase.pas @@ -235,8 +235,8 @@ uses NR_STACK_POINTER_REG = NR_R1; RS_STACK_POINTER_REG = RS_R1; {# Frame pointer register } - NR_FRAME_POINTER_REG = NR_STACK_POINTER_REG; - RS_FRAME_POINTER_REG = RS_STACK_POINTER_REG; + NR_FRAME_POINTER_REG = NR_LOCAL_FRAME_POINTER_REG; + RS_FRAME_POINTER_REG = RS_LOCAL_FRAME_POINTER_REG; { WebAssembly results are returned on the evaluation stack, not via a register }