summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/erl_process.h
diff options
context:
space:
mode:
authorBjörn Gustavsson <bjorn@erlang.org>2021-03-12 12:46:33 +0100
committerJohn Högberg <john@erlang.org>2021-05-25 13:45:57 +0200
commitc634176d9f3473605e0c0a60c1917dbf80fbb8cd (patch)
treeb9eca88254797d896c25adfbd11379cf0f62ec49 /erts/emulator/beam/erl_process.h
parent430760bc5103c96652d914c0888766be083ca027 (diff)
downloaderlang-c634176d9f3473605e0c0a60c1917dbf80fbb8cd.tar.gz
jit: Implement code generation for ARM
On April 9, 2021, we reached the prompt milestone (with -oldshell option). On April 15, 2021, we could run the entire compiler test suite without crashing. The test suites for tools and debugger also ran successfully. On April 16, 2021, we could run the entire test suites for emulator and stdlib. Co-authored-by: John Högberg <john@erlang.org> Co-authored-by: Sverker Eriksson <sverker@erlang.org>
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r--erts/emulator/beam/erl_process.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index 419234686f..588ee0133d 100644
--- a/erts/emulator/beam/erl_process.h
+++ b/erts/emulator/beam/erl_process.h
@@ -661,11 +661,11 @@ typedef struct ErtsSchedulerRegisters_ {
ErtsCodePtr start_time_i;
UWord start_time;
-#if !defined(NATIVE_ERLANG_STACK) && defined(JIT_HARD_DEBUG)
+#if (!defined(NATIVE_ERLANG_STACK) || defined(__aarch64__)) && defined(JIT_HARD_DEBUG)
/* Holds the initial thread stack pointer. Used to ensure that everything
* that is pushed to the stack is also popped. */
UWord *initial_sp;
-#elif defined(NATIVE_ERLANG_STACK) && defined(DEBUG)
+#elif defined(NATIVE_ERLANG_STACK) && defined(DEBUG) && !defined(__aarch64__)
/* Raw pointers to the start and end of the stack. Used to test bounds
* without clobbering any registers. */
UWord *runtime_stack_start;