From ce8439fb36600f143dceb273ff91cbaba86b8800 Mon Sep 17 00:00:00 2001 From: nickysn Date: Mon, 14 Dec 2020 23:06:55 +0000 Subject: [PATCH] + introduced NR_LOCAL_STACK_POINTER_REG git-svn-id: branches/wasm@47776 - --- compiler/wasm32/cpubase.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/wasm32/cpubase.pas b/compiler/wasm32/cpubase.pas index c481ea6e22..c57bdd9e63 100644 --- a/compiler/wasm32/cpubase.pas +++ b/compiler/wasm32/cpubase.pas @@ -143,6 +143,8 @@ uses can use the offset field to indicate the order, which is used by ncal to sort the parameters } NR_EVAL_STACK_BASE = NR_R0; + { used as base register in references to indicate that it's a local } + NR_LOCAL_STACK_POINTER_REG = NR_R1; maxvarregs = 1; maxfpuvarregs = 1;