diff options
-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; |