summaryrefslogtreecommitdiff
path: root/coroutine/arm64/Context.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-16 15:51:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-16 15:52:09 +0900
commita160b2f56716f70fa3e485ae89875da48baefc1d (patch)
tree40509f60a3052683c24bca4f24cac8c7d9f127d5 /coroutine/arm64/Context.h
parent7069f64c419ebb9a7fd3e48d81454148ed4b2fba (diff)
Make COROUTINE_REGISTERS compile-time only not to be a global symbol
Diffstat (limited to 'coroutine/arm64/Context.h')
-rw-r--r--coroutine/arm64/Context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine/arm64/Context.h b/coroutine/arm64/Context.h
index 03b91fd937..ed646e818b 100644
--- a/coroutine/arm64/Context.h
+++ b/coroutine/arm64/Context.h
@@ -16,7 +16,7 @@ extern "C" {
#define COROUTINE __attribute__((noreturn)) void
-const size_t COROUTINE_REGISTERS = 0xb0 / 8;
+enum {COROUTINE_REGISTERS = 0xb0 / 8};
typedef struct
{