diff options
author | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:16:41 +0000 |
---|---|---|
committer | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:16:41 +0000 |
commit | 99346f74a4ee6b638a2fbb5a5edef506d379d531 (patch) | |
tree | bb8ce7f5eda7b33303caeb6b5c45ff87cb347161 /coroutine | |
parent | b58dc42abb4e6513ba90acaa497ce581e5bc35e8 (diff) |
Mark COROUTINE as noreturn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine')
-rw-r--r-- | coroutine/arm32/Context.h | 2 | ||||
-rw-r--r-- | coroutine/arm64/Context.h | 2 | ||||
-rw-r--r-- | coroutine/win32/Context.h | 2 | ||||
-rw-r--r-- | coroutine/win64/Context.h | 2 | ||||
-rw-r--r-- | coroutine/x86/Context.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/coroutine/arm32/Context.h b/coroutine/arm32/Context.h index 25f2bfcb3a..75f6c1dc76 100644 --- a/coroutine/arm32/Context.h +++ b/coroutine/arm32/Context.h @@ -14,7 +14,7 @@ extern "C" { #endif -#define COROUTINE void +#define COROUTINE __attribute__((noreturn)) void const size_t COROUTINE_REGISTERS = 9; diff --git a/coroutine/arm64/Context.h b/coroutine/arm64/Context.h index dd8b1d78dd..770e81b076 100644 --- a/coroutine/arm64/Context.h +++ b/coroutine/arm64/Context.h @@ -14,7 +14,7 @@ extern "C" { #endif -#define COROUTINE void +#define COROUTINE __attribute__((noreturn)) void const size_t COROUTINE_REGISTERS = 0xb0 / 8; diff --git a/coroutine/win32/Context.h b/coroutine/win32/Context.h index 30cb5a982d..343c3da1d6 100644 --- a/coroutine/win32/Context.h +++ b/coroutine/win32/Context.h @@ -14,7 +14,7 @@ extern "C" { #endif -#define COROUTINE void __fastcall +#define COROUTINE __declspec(noreturn) void __fastcall const size_t COROUTINE_REGISTERS = 4; diff --git a/coroutine/win64/Context.h b/coroutine/win64/Context.h index 53b185a9ef..94fcf53429 100644 --- a/coroutine/win64/Context.h +++ b/coroutine/win64/Context.h @@ -14,7 +14,7 @@ extern "C" { #endif -#define COROUTINE void +#define COROUTINE __declspec(noreturn) void const size_t COROUTINE_REGISTERS = 8; diff --git a/coroutine/x86/Context.h b/coroutine/x86/Context.h index 82fd1b75ff..e54dedd776 100644 --- a/coroutine/x86/Context.h +++ b/coroutine/x86/Context.h @@ -14,7 +14,7 @@ extern "C" { #endif -#define COROUTINE void __attribute__((fastcall)) +#define COROUTINE __attribute__((noreturn, fastcall)) void const size_t COROUTINE_REGISTERS = 4; |